-
Notifications
You must be signed in to change notification settings - Fork 28.9k
[SPARK-19355][SQL][Followup] Remove the child.outputOrdering check in global limit #22239
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SPARK-19355][SQL][Followup] Remove the child.outputOrdering check in global limit #22239
Conversation
|
cc @hvanhovell |
|
@viirya did you try to run |
|
cc @cloud-fan for a sanity check. |
|
|
@hvanhovell I can set |
|
Setting |
b57634b to
67ed97d
Compare
|
LGTM - Let's wait a little bit with merging to allow others to comment. |
|
Sure, thank you @hvanhovell |
|
Better to add |
|
@maropu Thanks. I just added it. |
|
Shall we rename it to: [SPARK-19355][SQL][Followup] Remove the child.outputOrdering check in global limit? |
|
Test build #95272 has finished for PR 22239 at commit
|
|
@hvanhovell ah, updated. also updated the PR description too. |
|
Test build #95273 has finished for PR 22239 at commit
|
|
thanks, merging to master! |
… global limit ## What changes were proposed in this pull request? This is based on the discussion https://github.com/apache/spark/pull/16677/files#r212805327. As SQL standard doesn't mandate that a nested order by followed by a limit has to respect that ordering clause, this patch removes the `child.outputOrdering` check. ## How was this patch tested? Unit tests. Closes apache#22239 from viirya/improve-global-limit-parallelism-followup. Authored-by: Liang-Chi Hsieh <[email protected]> Signed-off-by: Wenchen Fan <[email protected]>
## What changes were proposed in this pull request? This goes to revert sequential PRs based on some discussion and comments at #16677 (comment). #22344 #22330 #22239 #16677 ## How was this patch tested? Existing tests. Closes #22481 from viirya/revert-SPARK-19355-1. Authored-by: Liang-Chi Hsieh <[email protected]> Signed-off-by: Wenchen Fan <[email protected]> (cherry picked from commit 89671a2) Signed-off-by: Wenchen Fan <[email protected]>
## What changes were proposed in this pull request? This goes to revert sequential PRs based on some discussion and comments at #16677 (comment). #22344 #22330 #22239 #16677 ## How was this patch tested? Existing tests. Closes #22481 from viirya/revert-SPARK-19355-1. Authored-by: Liang-Chi Hsieh <[email protected]> Signed-off-by: Wenchen Fan <[email protected]>
What changes were proposed in this pull request?
This is based on the discussion https://github.com/apache/spark/pull/16677/files#r212805327.
As SQL standard doesn't mandate that a nested order by followed by a limit has to respect that ordering clause, this patch removes the
child.outputOrderingcheck.How was this patch tested?
Unit tests.