Skip to content

Conversation

@songkant-aws
Copy link
Contributor

Description

Backport/backport 3859 to 2.19 dev

Related Issues

Resolves #[Issue number to be closed when this PR is merged]

Check List

  • New functionality includes testing.
  • New functionality has been documented.
  • New functionality has javadoc added.
  • New functionality has a user manual doc added.
  • API changes companion pull request created.
  • Commits are signed per the DCO using --signoff.
  • Public documentation issue/PR created.

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.

songkant-aws and others added 3 commits July 22, 2025 12:04
…rch-project#3859)

* Support filter script push down for calcite

Signed-off-by: Heng Qian <[email protected]>

* Fix UT

Signed-off-by: Heng Qian <[email protected]>

* Change CompoundedScriptEngine name

Signed-off-by: Heng Qian <[email protected]>

* Remove duplicated code after merging main

Signed-off-by: Heng Qian <[email protected]>

* Create RelJsonSerializer to serialize RexNode instead of unsafe code string

Signed-off-by: Songkan Tang <[email protected]>

* Fix some IT

Signed-off-by: Songkan Tang <[email protected]>

* Add validation logic before script serialization

Signed-off-by: Songkan Tang <[email protected]>

* Resolve compilation issue after merge

Signed-off-by: Songkan Tang <[email protected]>

* Comply with relevance query pushdown

Signed-off-by: Songkan Tang <[email protected]>

* Add cost computing for script pushdown to balance performance

Signed-off-by: Songkan Tang <[email protected]>

* Correct test case after merge

Signed-off-by: Songkan Tang <[email protected]>

* Add V2Expression vs RexNode serde benchmark

Signed-off-by: Songkan Tang <[email protected]>

* Fix spotless check

Signed-off-by: Songkan Tang <[email protected]>

* Address comments

Signed-off-by: Songkan Tang <[email protected]>

* Fix IT after change

Signed-off-by: Songkan Tang <[email protected]>

* Encode langType into script JSON blob

Signed-off-by: Songkan Tang <[email protected]>

* Fix issue after merge

Signed-off-by: Songkan Tang <[email protected]>

* Consolidate with partial pushdown logic after merge

Signed-off-by: Songkan Tang <[email protected]>

* Fix UT

Signed-off-by: Songkan Tang <[email protected]>

---------

Signed-off-by: Heng Qian <[email protected]>
Signed-off-by: Songkan Tang <[email protected]>
Co-authored-by: Heng Qian <[email protected]>
(cherry picked from commit 0a07684)
Signed-off-by: Songkan Tang <[email protected]>
Signed-off-by: Songkan Tang <[email protected]>
@LantaoJin
Copy link
Member

ping @qianheng-aws @penghuo

@penghuo penghuo merged commit 0878a3b into opensearch-project:2.19-dev Jul 25, 2025
24 checks passed
@songkant-aws songkant-aws deleted the backport/backport-3859-to-2.19-dev branch August 1, 2025 05:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants