[Backport 2.19-dev] Support pushdown sort by simple expressions (#4071)#4243
Merged
LantaoJin merged 4 commits intoopensearch-project:2.19-devfrom Sep 11, 2025
Conversation
* 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
previously approved these changes
Sep 10, 2025
yuancu
approved these changes
Sep 11, 2025
LantaoJin
approved these changes
Sep 11, 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.
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
--signoffor-s.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.