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 <qianheng@amazon.com>

* Fix UT

Signed-off-by: Heng Qian <qianheng@amazon.com>

* Change CompoundedScriptEngine name

Signed-off-by: Heng Qian <qianheng@amazon.com>

* Remove duplicated code after merging main

Signed-off-by: Heng Qian <qianheng@amazon.com>

* Create RelJsonSerializer to serialize RexNode instead of unsafe code string

Signed-off-by: Songkan Tang <songkant@amazon.com>

* Fix some IT

Signed-off-by: Songkan Tang <songkant@amazon.com>

* Add validation logic before script serialization

Signed-off-by: Songkan Tang <songkant@amazon.com>

* Resolve compilation issue after merge

Signed-off-by: Songkan Tang <songkant@amazon.com>

* Comply with relevance query pushdown

Signed-off-by: Songkan Tang <songkant@amazon.com>

* Add cost computing for script pushdown to balance performance

Signed-off-by: Songkan Tang <songkant@amazon.com>

* Correct test case after merge

Signed-off-by: Songkan Tang <songkant@amazon.com>

* Add V2Expression vs RexNode serde benchmark

Signed-off-by: Songkan Tang <songkant@amazon.com>

* Fix spotless check

Signed-off-by: Songkan Tang <songkant@amazon.com>

* Address comments

Signed-off-by: Songkan Tang <songkant@amazon.com>

* Fix IT after change

Signed-off-by: Songkan Tang <songkant@amazon.com>

* Encode langType into script JSON blob

Signed-off-by: Songkan Tang <songkant@amazon.com>

* Fix issue after merge

Signed-off-by: Songkan Tang <songkant@amazon.com>

* Consolidate with partial pushdown logic after merge

Signed-off-by: Songkan Tang <songkant@amazon.com>

* Fix UT

Signed-off-by: Songkan Tang <songkant@amazon.com>

---------

Signed-off-by: Heng Qian <qianheng@amazon.com>
Signed-off-by: Songkan Tang <songkant@amazon.com>
Co-authored-by: Heng Qian <qianheng@amazon.com>
(cherry picked from commit 0a07684)
Signed-off-by: Songkan Tang <songkant@amazon.com>
Signed-off-by: Songkan Tang <songkant@amazon.com>
@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