[GitHub] spark pull request #19406: [SPARK-22179] percentile_approx should choose the...

2017-10-05 Thread wzhfy
Github user wzhfy closed the pull request at:

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


---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark pull request #19406: [SPARK-22179] percentile_approx should choose the...

2017-09-30 Thread wzhfy
GitHub user wzhfy opened a pull request:

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

[SPARK-22179] percentile_approx should choose the first element for small 
percentage

## What changes were proposed in this pull request?

percentile_approx should choose the first element for small percentage

## How was this patch tested?

Added a new test.

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

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

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

https://github.com/apache/spark/pull/19406.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 #19406


commit 24f8295498a7ad6d2d99ea27a196ccf154165907
Author: Zhenhua Wang 
Date:   2017-09-30T16:04:32Z

return the first element for small percentage




---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org