GitHub user wzhfy opened a pull request:

    https://github.com/apache/spark/pull/15732

    [SPARK-18221] [SQL] Wrong approximate quantile answer when multiple records 
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

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/wzhfy/spark percentile2

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/15732.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #15732
    
----
commit db55a76202123cbf564176232dc4ea98b49b1888
Author: wangzhenhua <[email protected]>
Date:   2016-11-02T08:27:39Z

    multiple records with the minimum value

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to