Skip to content

[Backport 2.19-dev] Enable pushdown optimization for filtered aggregation - #4238

Merged
penghuo merged 2 commits into
opensearch-project:2.19-devfrom
dai-chen:backport-count-eval-function-pushdown
Sep 8, 2025
Merged

penghuo merged 2 commits into
opensearch-project:2.19-devfrom
dai-chen:backport-count-eval-function-pushdown

Conversation

@dai-chen

@dai-chen dai-chen commented Sep 5, 2025

Copy link
Copy Markdown
Collaborator

Description

Backport a1cb71f. from #4213.

…ject#4213)

* Enable filtered aggregation pushdown

Signed-off-by: Chen Dai <[email protected]>

* Add basic UT and ignore IT for now

Signed-off-by: Chen Dai <[email protected]>

* Enable aggregate case to filter rule and fix UT and IT

Signed-off-by: Chen Dai <[email protected]>

* Add expected json file for no pushdown test

Signed-off-by: Chen Dai <[email protected]>

* Remove unnecessary aggregate case to filter rule

Signed-off-by: Chen Dai <[email protected]>

* Add UT for IS_TRUE support

Signed-off-by: Chen Dai <[email protected]>

* Add more explain IT

Signed-off-by: Chen Dai <[email protected]>

* Refactor UT

Signed-off-by: Chen Dai <[email protected]>

* Extract aggregate filter analyzer abstraction

Signed-off-by: Chen Dai <[email protected]>

* Add more UT

Signed-off-by: Chen Dai <[email protected]>

* Refactor UT with fluent API

Signed-off-by: Chen Dai <[email protected]>

* Add UT for distinct count

Signed-off-by: Chen Dai <[email protected]>

* Address comment by adding UT for script filter pushdown

Signed-off-by: Chen Dai <[email protected]>

* Fix spotless

Signed-off-by: Chen Dai <[email protected]>

---------

Signed-off-by: Chen Dai <[email protected]>
@penghuo
penghuo merged commit c037028 into opensearch-project:2.19-dev Sep 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request PPL Piped processing language

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants