-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-3394] [SQL] Fix crash in TakeOrdered when limit is 0 #2264
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
Conversation
|
Can one of the admins verify this patch? |
|
ok to test |
|
QA tests have started for PR 2264 at commit
|
|
I'm thinking that maybe we should fix this issue by allowing |
|
QA tests have finished for PR 2264 at commit
|
|
That's a good point - and it seems the pyspark api for example does support takeOrdered(0). Updated. |
|
Build failure caused by GraphX suite, I believe @ankurdave is looking into that. Let's wait for now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's very minor, but Array.empty would be slightly more canonical.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And maybe add an else to avoid the return :)
|
retest this please I think it's a transient failure in GraphX? |
|
addressed comments |
|
Jenkins, retest this please. |
|
retest this please. Jenkins was down a couple hours ago and just came alive. |
|
Jenkins, retest this please. |
|
LGTM. |
|
QA tests have started for PR 2264 at commit
|
|
QA tests have finished for PR 2264 at commit
|
|
Jenkins, test this please |
|
(I believe that test is currently flaky) |
|
QA tests have started for PR 2264 at commit
|
|
QA tests have finished for PR 2264 at commit
|
|
Jenkins, retest this please. |
|
QA tests have started for PR 2264 at commit
|
|
QA tests have finished for PR 2264 at commit
|
|
Seems like MIMA was confused in the previous run, but tests actually passed, so I'm going to merge this. |
This resolves https://issues.apache.org/jira/browse/SPARK-3394 Author: Eric Liang <[email protected]> Closes #2264 from ericl/spark-3394 and squashes the following commits: c87355b [Eric Liang] refactor bfb6140 [Eric Liang] change RDD takeOrdered instead 7a51528 [Eric Liang] fix takeordered when limit = 0 (cherry picked from commit 6754570) Signed-off-by: Matei Zaharia <[email protected]>
This resolves https://issues.apache.org/jira/browse/SPARK-3394 Author: Eric Liang <[email protected]> Closes #2264 from ericl/spark-3394 and squashes the following commits: c87355b [Eric Liang] refactor bfb6140 [Eric Liang] change RDD takeOrdered instead 7a51528 [Eric Liang] fix takeordered when limit = 0 (cherry picked from commit 6754570) Signed-off-by: Matei Zaharia <[email protected]>
|
Merged into 1.2, branch-1.1 and branch-1.0 |
This resolves https://issues.apache.org/jira/browse/SPARK-3394