kibana/x-pack/test
Walter Rafelsberger bfb363f050
[ML] Transforms/Data Frame Analytics: Fix freezing wizard for indices with massive amounts of fields. (#98259)
The transform wizard can become very slow when used with indices with e.g. 1000+ fields.

This PR fixes it by prefetching 500 random documents to create a list of populated/used fields and passes those on to the data grid component instead of all available fields from the list derived via Kibana index patterns.

For example, for an out of the box metricbeat index, this reduces the list of passed on fields from 3000+ to ~120 fields. Previously, the page would freeze on load for tens of seconds and would freeze again on every rerender. With the applied update, the page loads almost instantly again and remains responsive.

Note this fix of reducing available fields is only applied to the data grid preview component. All fields are still available to create the configuration in the UI for groups and aggregations. These UI components, e.g. the virtualized dropdowns, can handle large lists of fields.
2021-04-28 08:23:07 +02:00
..
accessibility [ML] Functional tests - stabilize anomaly charts embeddables test (#97452) 2021-04-20 11:38:16 +02:00
alerting_api_integration [Connectors][API] Updated connectors with isMissingSecrets flag (#98223) 2021-04-27 14:14:01 -07:00
api_integration Handle 401 Unauthorized errors in a more user-friendly way (#94927) 2021-04-27 19:09:54 +02:00
api_integration_basic Elastic License 2.0 (#90099) 2021-02-03 18:12:39 -08:00
apm_api_integration [APM] add comparison to Instances latency distribution (#97710) 2021-04-21 16:47:03 -04:00
banners_functional add per space configuration to custom header banner (#94449) 2021-03-31 10:57:06 +02:00
case_api_integration [Connectors][API] Updated connectors with isMissingSecrets flag (#98223) 2021-04-27 14:14:01 -07:00
common Elastic License 2.0 (#90099) 2021-02-03 18:12:39 -08:00
detection_engine_api_integration [Security Solution][Detections] Fix flaky threshold API tests (#97768) 2021-04-21 16:13:15 -04:00
encrypted_saved_objects_api_integration Migrate away from legacyEs service in tests. (#95402) 2021-03-26 18:49:19 +01:00
endpoint_api_integration_no_ingest Elastic License 2.0 (#90099) 2021-02-03 18:12:39 -08:00
examples [Search] enable fun-ctional tests (#97398) 2021-04-19 12:21:50 +03:00
fleet_api_integration [Fleet] Refactor setup to load default packages/policies with preconfiguration (#97328) 2021-04-22 11:25:10 -05:00
fleet_functional [Fleet] Bootstrap functional test suite (#91898) 2021-02-18 16:34:50 -05:00
functional [ML] Transforms/Data Frame Analytics: Fix freezing wizard for indices with massive amounts of fields. (#98259) 2021-04-28 08:23:07 +02:00
functional_basic [ML] Fix import missing range for File Data Visualizer, Discover card visible when disabled, texts (#91352) 2021-02-16 16:05:01 +01:00
functional_cors chore(NA): enable preserve symlinks for ts without breaking packages development (#95433) 2021-03-31 00:02:22 +01:00
functional_embedded [Plugins Discovery] Enforce camelCase plugin IDs (#90752) 2021-02-11 14:36:17 +00:00
functional_enterprise_search [App Search] Add delete action to EnginesTable component (#92844) 2021-03-09 09:49:52 -05:00
functional_vis_wizard Elastic License 2.0 (#90099) 2021-02-03 18:12:39 -08:00
functional_with_es_ssl Fixed Failing test for alerts list disable/mute operations. (#97057) 2021-04-23 14:24:41 -07:00
licensing_plugin skip flaky suite (#53575) 2021-04-21 13:38:14 +01:00
lists_api_integration ES client : use the new type definitions (#83808) 2021-03-25 04:47:16 -04:00
load [loa testing] wait 60 sec b/w simulations (#96612) 2021-04-08 23:07:08 +02:00
observability_api_integration ES client : use the new type definitions (#83808) 2021-03-25 04:47:16 -04:00
plugin_api_integration [Event Log] Extend ECS event schema with fields needed for Detection Engine (#95067) 2021-03-29 14:59:36 +02:00
plugin_api_perf [Plugins Discovery] Enforce camelCase plugin IDs (#90752) 2021-02-11 14:36:17 +00:00
plugin_functional [Security Solution][RAC][Timeline] Timeline plugin skeleton and test plugin harness (#95683) 2021-03-31 15:33:19 -04:00
reporting_api_integration [Reporting] Kibana Application Privileges for Reporting (#94966) 2021-04-20 20:44:24 -07:00
reporting_functional [Reporting] Kibana Application Privileges for Reporting (#94966) 2021-04-20 20:44:24 -07:00
saved_object_api_integration Migrate away from legacyEs service in tests. (#95402) 2021-03-26 18:49:19 +01:00
saved_object_tagging skip flaky suite (#89958) 2021-02-17 06:55:11 -08:00
saved_objects_field_count Elastic License 2.0 (#90099) 2021-02-03 18:12:39 -08:00
search_sessions_integration [Discover] Enable EuiDataGrid (#89264) 2021-04-20 14:43:02 +02:00
security_api_integration Handle 401 Unauthorized errors in a more user-friendly way (#94927) 2021-04-27 19:09:54 +02:00
security_functional Handle 401 Unauthorized errors in a more user-friendly way (#94927) 2021-04-27 19:09:54 +02:00
security_solution_cypress [Security Solution][Detections] Improves indicator match Cypress tests (#94913) 2021-03-25 19:25:49 +01:00
security_solution_endpoint [Security][Fleet] Install the security_detection_engine package automatically (#97191) 2021-04-20 13:07:11 -04:00
security_solution_endpoint_api_int [Security][Fleet] Install the security_detection_engine package automatically (#97191) 2021-04-20 13:07:11 -04:00
security_solution_ftr/page_objects/detections Add a11y test coverage to Rule Creation Flow for Detections tab (#94377) 2021-03-25 15:05:23 -04:00
spaces_api_integration skip flaky suite (#92358) 2021-03-29 13:11:33 +01:00
stack_functional_integration ccs_discover additional tests (#96669) 2021-04-12 12:23:46 -07:00
ui_capabilities [Plugins Discovery] Enforce camelCase plugin IDs (#90752) 2021-02-11 14:36:17 +00:00
upgrade Fix reporting test (#95586) 2021-03-26 16:33:29 -06:00
upgrade_assistant_integration Elastic License 2.0 (#90099) 2021-02-03 18:12:39 -08:00
usage_collection [Plugins Discovery] Enforce camelCase plugin IDs (#90752) 2021-02-11 14:36:17 +00:00
visual_regression Elastic License 2.0 (#90099) 2021-02-03 18:12:39 -08:00
tsconfig.json Merge tsconfig and x-pack/tsconfig files (#94519) 2021-03-16 15:13:49 +01:00