Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Transform] Optimize composite agg execution using ordered groupings #75518

Merged

Conversation

hendrikmuhs
Copy link
Contributor

Automatically reorder group_by for composite aggs, ensuring date histogram
group by comes first. The order is only changed for execution, the provided
config remains unchanged.

In case of 2 group_by's of the same order type, the configuration order is
respected. Script and runtime field based group_by's are penalized.

backport #75424

…lastic#75424)

Automatically reorder group_by for composite aggs, ensuring date histogram
group by comes first. The order is only changed for execution, the provided
config remains unchanged.

In case of 2 group_by's of the same order type, the configuration order is
respected. Script and runtime field based group_by's are penalized.
@elasticmachine elasticmachine added the Team:ML Meta label for the ML team label Jul 20, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/ml-core (Team:ML)

@hendrikmuhs hendrikmuhs merged commit 45d1e24 into elastic:7.x Jul 20, 2021
@hendrikmuhs hendrikmuhs deleted the transform-optimizeGroupByOrder-7x branch July 20, 2021 10:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport :ml/Transform Transform Team:ML Meta label for the ML team v7.15.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants