[Backport 2.19-dev] Enable pushdown optimization for filtered aggregation#4238
Merged
penghuo merged 2 commits intoopensearch-project:2.19-devfrom Sep 8, 2025
Conversation
…ject#4213) * Enable filtered aggregation pushdown Signed-off-by: Chen Dai <daichen@amazon.com> * Add basic UT and ignore IT for now Signed-off-by: Chen Dai <daichen@amazon.com> * Enable aggregate case to filter rule and fix UT and IT Signed-off-by: Chen Dai <daichen@amazon.com> * Add expected json file for no pushdown test Signed-off-by: Chen Dai <daichen@amazon.com> * Remove unnecessary aggregate case to filter rule Signed-off-by: Chen Dai <daichen@amazon.com> * Add UT for IS_TRUE support Signed-off-by: Chen Dai <daichen@amazon.com> * Add more explain IT Signed-off-by: Chen Dai <daichen@amazon.com> * Refactor UT Signed-off-by: Chen Dai <daichen@amazon.com> * Extract aggregate filter analyzer abstraction Signed-off-by: Chen Dai <daichen@amazon.com> * Add more UT Signed-off-by: Chen Dai <daichen@amazon.com> * Refactor UT with fluent API Signed-off-by: Chen Dai <daichen@amazon.com> * Add UT for distinct count Signed-off-by: Chen Dai <daichen@amazon.com> * Address comment by adding UT for script filter pushdown Signed-off-by: Chen Dai <daichen@amazon.com> * Fix spotless Signed-off-by: Chen Dai <daichen@amazon.com> --------- Signed-off-by: Chen Dai <daichen@amazon.com>
Signed-off-by: Chen Dai <daichen@amazon.com>
LantaoJin
approved these changes
Sep 6, 2025
penghuo
approved these changes
Sep 8, 2025
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Description
Backport a1cb71f. from #4213.