Skip to content

[Backport 2.19-dev] Support pushdown sort by simple expressions (#4071)#4243

Merged
LantaoJin merged 4 commits intoopensearch-project:2.19-devfrom
songkant-aws:simple-sort-expr-push-2.19-backport
Sep 11, 2025
Merged

[Backport 2.19-dev] Support pushdown sort by simple expressions (#4071)#4243
LantaoJin merged 4 commits intoopensearch-project:2.19-devfrom
songkant-aws:simple-sort-expr-push-2.19-backport

Conversation

@songkant-aws
Copy link
Copy Markdown
Collaborator

@songkant-aws songkant-aws commented Sep 8, 2025

  • Support pushdown sort by simple expressions

  • Fix IT for no pushdown case

  • Add minor case to allow sort pushdown for casted floating number

  • Fix the issue of using wrong fromCollation

  • Add some unit tests for OpenSearchRelOptUtil

  • Fix checkstyle


Description

Manual backpot #4071 into 2.19-dev

Related Issues

Check List

  • New functionality includes testing.
  • New functionality has been documented.
  • New functionality has javadoc added.
  • New functionality has a user manual doc added.
  • New PPL command checklist all confirmed.
  • API changes companion pull request created.
  • Commits are signed per the DCO using --signoff or -s.
  • 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.

* Support pushdown sort by simple expressions

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

* Fix IT for no pushdown case

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

* Add minor case to allow sort pushdown for casted floating number

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

* Fix the issue of using wrong fromCollation

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

* Add some unit tests for OpenSearchRelOptUtil

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

* Fix checkstyle

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

---------

Signed-off-by: Songkan Tang <songkant@amazon.com>
Signed-off-by: Songkan Tang <songkant@amazon.com>
yuancu
yuancu previously approved these changes Sep 10, 2025
@LantaoJin LantaoJin merged commit 9a2643b into opensearch-project:2.19-dev Sep 11, 2025
42 checks passed
@songkant-aws songkant-aws deleted the simple-sort-expr-push-2.19-backport branch October 9, 2025 02:44
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