Skip to content
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 approximate quantile answer when multiple records have the minimum value(for branch 2.0) #15732

Closed
wants to merge 1 commit into from

Conversation

wzhfy
Copy link
Contributor

@wzhfy wzhfy commented Nov 2, 2016

What changes were proposed in this pull request?

When multiple records have the minimum value, the answer of StatFunctions.multipleApproxQuantiles is wrong.

How was this patch tested?

add a test case

@srowen
Copy link
Member

srowen commented Nov 2, 2016

This should be tagged to SPARK-18111

@wzhfy wzhfy changed the title [SPARK-18221] [SQL] Wrong approximate quantile answer when multiple records have the minimum value(for branch 2.0) [SPARK-18111] [SQL] Wrong approximate quantile answer when multiple records have the minimum value(for branch 2.0) Nov 2, 2016
@wzhfy
Copy link
Contributor Author

wzhfy commented Nov 2, 2016

@srowen OK, done.

@SparkQA
Copy link

SparkQA commented Nov 2, 2016

Test build #67979 has finished for PR 15732 at commit db55a76.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@rxin
Copy link
Contributor

rxin commented Nov 2, 2016

Merging in branch-2.0. Can you close this now?

asfgit pushed a commit that referenced this pull request Nov 2, 2016
…cords have the minimum value(for branch 2.0)

## What changes were proposed in this pull request?
When multiple records have the minimum value, the answer of `StatFunctions.multipleApproxQuantiles` is wrong.

## How was this patch tested?
add a test case

Author: wangzhenhua <[email protected]>

Closes #15732 from wzhfy/percentile2.
@wzhfy
Copy link
Contributor Author

wzhfy commented Nov 3, 2016

@rxin OK.

@wzhfy wzhfy closed this Nov 3, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants