Fix rand() sort + head limit regression in PPL (issue #5114) by penghuo · Pull Request #5128 · opensearch-project/sql · GitHub
Skip to content

Fix rand() sort + head limit regression in PPL (issue #5114)#5128

Closed
penghuo wants to merge 2 commits into
opensearch-project:mainfrom
penghuo:codex/bugFix/5114-dco
Closed

Fix rand() sort + head limit regression in PPL (issue #5114)#5128
penghuo wants to merge 2 commits into
opensearch-project:mainfrom
penghuo:codex/bugFix/5114-dco

Conversation

@penghuo

@penghuo penghuo commented Feb 9, 2026

Copy link
Copy Markdown
Collaborator

Description

Fix issue #5114 by preventing non-deterministic sort-expression pushdown and preserving limit semantics for non-LogicalSort nodes carrying fetch/offset.

Related Issues

#5114

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.

Signed-off-by: Peng Huo <penghuo@gmail.com>
@coderabbitai

coderabbitai Bot commented Feb 9, 2026

Copy link
Copy Markdown
Contributor

…tics

Signed-off-by: Peng Huo <penghuo@gmail.com>
@penghuo penghuo marked this pull request as draft February 10, 2026 00:07
@penghuo penghuo closed this Feb 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant