Repository navigation
feat(query-engine): execute nested PromQL aggregation DAGs #770
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
Merged
Merged
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
690282d
feat(planner): add explicit query execution plans
milindsrivastava1997 8d0de9d
feat(planner): emit nested aggregation plans
milindsrivastava1997 c42ef98
feat(query-engine): validate query-time aggregation configs
milindsrivastava1997 827414c
test(planner): cover nested aggregation stages
milindsrivastava1997 ad9182f
feat(query-engine): execute query-time aggregation pipelines
milindsrivastava1997 3b2763d
test(query-engine): add nested aggregation e2e tracer
milindsrivastava1997 77b6d9c
test(query-engine): cover nested topk e2e
milindsrivastava1997 a95971c
test(query-engine): cover nested aggregation operators e2e
milindsrivastava1997 467d149
test(query-engine): assert nested aggregation e2e values
milindsrivastava1997 cf48026
test(promql): add nested aggregation differential suite
milindsrivastava1997 f7c3b87
test(query-engine): cover query-time aggregation grouping
milindsrivastava1997 0f74902
fix(query-config): reject zero topk limits
milindsrivastava1997 1313532
test(query-engine): cover query-time aggregation boundaries
milindsrivastava1997 ff280a0
test(query-engine): cover query-time topk ties
milindsrivastava1997 bbc7f0a
feat(query-engine): execute nested aggregation DAG nodes
milindsrivastava1997 b1e5cc9
fix(query-engine): preserve missing query-time labels
milindsrivastava1997 cd5f31e
fix(planner): preserve empty without aggregations
milindsrivastava1997 35a424f
fix(query-engine): apply nested topk anchors first
milindsrivastava1997 072ef1e
fix(query-engine): validate nested aggregation plans
milindsrivastava1997 b0a14f9
fix(query-engine): preserve nested topk labels
milindsrivastava1997 c0eeb1d
Merge remote-tracking branch 'origin/main' into 738-nested-promql-agg…
milindsrivastava1997 353d828
fix(query-engine): keep grouped topk buckets contiguous
milindsrivastava1997 80abed1
Merge remote-tracking branch 'origin/main' into 738-nested-promql-agg…
milindsrivastava1997 d450f5c
fix(query-engine): align raw topk labels
milindsrivastava1997 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Medium: making
planned_subquery/query_time_aggregationsrequired breaks the checked-in inference configs.These configs have neither field and now fail with "Missing planned_subquery field":
asap-query-engine/examples/promql/inference_config.yamlasap-query-engine/examples/sql/inference_config.yamlasap-tools/execution-utilities/elastic-asap-benchmarking/inference_config.yamlsrc/bin/test_e2e_precompute.rsloads the PromQL example directly, so that binary breaks right away. Older planner outputs fail the same way.Fix: add the fields to the configs, or default them (
planned_subquery = query, empty pipeline).