spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zhenhua Wang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SPARK-22179) percentile_approx should choose the first element if it already reaches the percentage
Date Mon, 02 Oct 2017 03:08:02 GMT

     [ https://issues.apache.org/jira/browse/SPARK-22179?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Zhenhua Wang updated SPARK-22179:
---------------------------------
    Description: 
percentile_approx should choose the first element if it already reaches the percentage.
For example, given input data 1 to 10, if a user queries 10% (or even less) percentile, it
should return 1 (instead of 2), because the first value 1 already reaches 10% percentage.

  was:percentile_approx should choose the first element if it already reaches the percentage


> percentile_approx should choose the first element if it already reaches the percentage
> --------------------------------------------------------------------------------------
>
>                 Key: SPARK-22179
>                 URL: https://issues.apache.org/jira/browse/SPARK-22179
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.3.0
>            Reporter: Zhenhua Wang
>
> percentile_approx should choose the first element if it already reaches the percentage.
> For example, given input data 1 to 10, if a user queries 10% (or even less) percentile,
it should return 1 (instead of 2), because the first value 1 already reaches 10% percentage.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message