[ML] Transforms: Support sub-aggregations#68306
Conversation
| // @ts-ignore | ||
| step="any" |
|
Pinging @elastic/ml-ui (:ml) |
@walterra https://github.com/elastic/kibana/pull/68306/files#r436599588 I have left a comment about it, in case you missed 😉 it's a EUI issue, hope it's going to be resolved soon. |
walterra
left a comment
There was a problem hiding this comment.
LGTM (error screenshot I posted relates to EUI issue)
|
With the default dot |
...nsform/public/app/sections/create_transform/components/aggregation_list/sub_aggs_section.tsx
Outdated
Show resolved
Hide resolved
This bug took place before this PR, so we decided to fix it in a follow-up. It's a part of the meta issue for the data grid enhancements in DFA and Transforms #66383 |
peteharverson
left a comment
There was a problem hiding this comment.
Tested and LGTM.
Noted that the handling of fields with dot separators in the data grid will be addressed in #66383.
x-pack/test/functional/apps/transform/creation_index_pattern.ts
Outdated
Show resolved
Hide resolved
💚 Build SucceededHistory
To update your PR or re-run it, just comment with: |
* [ML] WIP UI support for the sug-aggs * [ML] extract sug-aggs from es config * [ML] fix for range filter * [ML] delete sub-aggregation * [ML] isConfigInvalid * [ML] fix actions, support parent agg * [ML] update getAggConfigFromEsAgg * [ML] unit tests * [ML] SubAggsSection * [ML] fix snapshot, add validation * [ML] fix label capping * [ML] rename Filter query label * [ML] fix updateSubAggregation validation * [ML] fix state update warning * [ML] increase MAX_NESTING_SUB_AGGS * [ML] functional tests for sub-aggregations * [ML] change the tooltip message * [ML] update functional tests * [ML] fix typo
* master: (37 commits) [DOCS] Adds documentation for drilldowns (elastic#68122) [Telemetry] telemetry.sendUsageFrom: "server" by default (elastic#68071) [ML] Transforms: Support sub-aggregations (elastic#68306) Fixed pre-configured docs link points to the wrong page and functional tests configs (elastic#68606) [Ingest Manager] Update queries from `stream.*` to `dataset.*` (elastic#68322) Enable Watcher by default to fix bug in which Watcher doesn't render in the side nav (elastic#68602) Convert Index Templates API routes to snakecase. (elastic#68463) [SECURITY SOLUTION] [Detections] Add / Update e2e tests to ensure initial rule runs are successful (elastic#68441) [Ingest] OpenAPI spec file (elastic#68323) chore(NA): skip apis Endpoint plugin Endpoint policy api (elastic#68638) bumping makelogs version to v6.0.0 (elastic#66163) [SIEM] Add create template button (elastic#66613) Bump websocket-extensions from 0.1.3 to 0.1.4 (elastic#68414) [ML] Sample data modules - use event.dataset instead of index name (elastic#68538) [ML] Functional tests - fix job validation API test with maxModelMemoryLimit (elastic#68501) [ML] Functional tests - stabilize DFA job creation (elastic#68495) [TSVB] Allows the user to change the tooltip mode (elastic#67775) chore(NA): skip apis Endpoint plugin Endpoint alert API when data is in elasticsearch (elastic#68613) chore(NA): skip endpoint Endpoint Alert Page: when es has data and user has navigated to the page (elastic#68596) [SIEM][Detection Engine] Converts from joi to use io-ts and moves the types to common (elastic#68127) ...
* [ML] WIP UI support for the sug-aggs * [ML] extract sug-aggs from es config * [ML] fix for range filter * [ML] delete sub-aggregation * [ML] isConfigInvalid * [ML] fix actions, support parent agg * [ML] update getAggConfigFromEsAgg * [ML] unit tests * [ML] SubAggsSection * [ML] fix snapshot, add validation * [ML] fix label capping * [ML] rename Filter query label * [ML] fix updateSubAggregation validation * [ML] fix state update warning * [ML] increase MAX_NESTING_SUB_AGGS * [ML] functional tests for sub-aggregations * [ML] change the tooltip message * [ML] update functional tests * [ML] fix typo


Summary
Follow-up on #67591. Adds sub-aggregations support to the transforms wizard.

Please bear in mind data-grid preview does not work properly at the moment because it can't handle keys containing
.in the property name. If you change the aggregation name to the one without dots, you should see counters updated in the data-grid table accordingly. This issue will be resolved in another PR.Checklist