Support pushdown array/collect aggregation#5072
Support pushdown array/collect aggregation#5072LantaoJin wants to merge 12 commits intoopensearch-project:mainfrom
Conversation
Signed-off-by: Lantao Jin <ltjin@amazon.com>
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the
Comment |
|
This PR includes duplicated logic of #5025, which is required to rebase after 5025 merged. |
Signed-off-by: Lantao Jin <ltjin@amazon.com>
PR Reviewer Guide 🔍(Review updated until commit e4fa9b2)Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Latest suggestions up to e4fa9b2 Explore these optional code suggestions:
Previous suggestionsSuggestions up to commit 1e3656d
Suggestions up to commit adbbc79
Suggestions up to commit aed63f7
Suggestions up to commit 70e2f57
Suggestions up to commit 8e5b95f
|
|
Persistent review updated to latest commit d0714da |
Signed-off-by: Lantao Jin <ltjin@amazon.com>
|
Persistent review updated to latest commit 8e5b95f |
|
Persistent review updated to latest commit 70e2f57 |
Signed-off-by: Lantao Jin <ltjin@amazon.com>
|
Persistent review updated to latest commit aed63f7 |
Signed-off-by: Lantao Jin <ltjin@amazon.com>
|
Persistent review updated to latest commit adbbc79 |
|
Persistent review updated to latest commit 1e3656d |
|
Persistent review updated to latest commit e4fa9b2 |
| case COLLECT, ARRAY_AGG -> { | ||
| TopHitsAggregationBuilder topHitsBuilder = | ||
| createTopHitsBuilder( | ||
| aggCall, args, aggName, helper, helper.queryBucketSize, false, false, null, null); |
There was a problem hiding this comment.
Why is useSingleColumn set to false? It seems only one field will be returned in top hits. Besides, setting it to true will disable fetching _source to reduce data transferred on wire, which is never used by its TopHitsParser.
Description
This PR is a pushdown optimization for #5025, which introduce array/collect Calcite aggregation.
Related Issues
Resolves #5070
Check List
--signoffor-s.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.