-
Notifications
You must be signed in to change notification settings - Fork 28.3k
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-18111] [SQL] Wrong ApproximatePercentile answer when multiple records have the minimum value #15641
Conversation
/cc @thunterdb @cloud-fan |
Test build #67566 has finished for PR 15641 at commit
|
Test build #67574 has finished for PR 15641 at commit
|
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.
I'd like to get @thunterdb 's OK but that looks good to me.
Test build #67634 has finished for PR 15641 at commit
|
retest this please |
Test build #67639 has finished for PR 15641 at commit
|
Seems many test builds failed in |
retest this please |
Test build #67652 has finished for PR 15641 at commit
|
@thunterdb It looks reasonable to my understanding, having looked at this code with you before, so if you don't object I'll merge this tomorrow. |
Merged to master |
It has a merge conflict in 2.0, but if you'd like to get it into 2.0 and could open a similar PR for testing, I can merge that. |
@srowen Seems branch-2.0 doesn't have related files, |
Yeah it was in |
Got it, thanks! I think it also has the problem, let me open a PR for it. |
…ecords have the minimum value ## What changes were proposed in this pull request? When multiple records have the minimum value, the answer of ApproximatePercentile is wrong. ## How was this patch tested? add a test case Author: wangzhenhua <wangzhenhua@huawei.com> Closes apache#15641 from wzhfy/percentile.
What changes were proposed in this pull request?
When multiple records have the minimum value, the answer of ApproximatePercentile is wrong.
How was this patch tested?
add a test case