[jira] [Commented] (SPARK-32306) `approx_percentile` in Spark SQL gives incorrect results

2020-09-23 Thread Apache Spark (Jira)
[ https://issues.apache.org/jira/browse/SPARK-32306?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17200608#comment-17200608 ] Apache Spark commented on SPARK-32306: -- User 'MaxGekk' has created a pull request f

[jira] [Commented] (SPARK-32306) `approx_percentile` in Spark SQL gives incorrect results

2020-09-23 Thread Apache Spark (Jira)
[ https://issues.apache.org/jira/browse/SPARK-32306?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17200609#comment-17200609 ] Apache Spark commented on SPARK-32306: -- User 'MaxGekk' has created a pull request f

[jira] [Commented] (SPARK-32306) `approx_percentile` in Spark SQL gives incorrect results

2020-09-22 Thread Sean Malory (Jira)
[ https://issues.apache.org/jira/browse/SPARK-32306?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17200564#comment-17200564 ] Sean Malory commented on SPARK-32306: - Thank you. > `approx_percentile` in Spark SQ

[jira] [Commented] (SPARK-32306) `approx_percentile` in Spark SQL gives incorrect results

2020-09-22 Thread L. C. Hsieh (Jira)
[ https://issues.apache.org/jira/browse/SPARK-32306?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17200337#comment-17200337 ] L. C. Hsieh commented on SPARK-32306: - Resolved by https://github.com/apache/spark/p

[jira] [Commented] (SPARK-32306) `approx_percentile` in Spark SQL gives incorrect results

2020-09-22 Thread Apache Spark (Jira)
[ https://issues.apache.org/jira/browse/SPARK-32306?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17199953#comment-17199953 ] Apache Spark commented on SPARK-32306: -- User 'MaxGekk' has created a pull request f

[jira] [Commented] (SPARK-32306) `approx_percentile` in Spark SQL gives incorrect results

2020-09-22 Thread Maxim Gekk (Jira)
[ https://issues.apache.org/jira/browse/SPARK-32306?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17199952#comment-17199952 ] Maxim Gekk commented on SPARK-32306: I opened PR https://github.com/apache/spark/pul

[jira] [Commented] (SPARK-32306) `approx_percentile` in Spark SQL gives incorrect results

2020-09-21 Thread Sean Malory (Jira)
[ https://issues.apache.org/jira/browse/SPARK-32306?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17199846#comment-17199846 ] Sean Malory commented on SPARK-32306: - [~maxgekk]; thanks for the definition. Can we

[jira] [Commented] (SPARK-32306) `approx_percentile` in Spark SQL gives incorrect results

2020-09-21 Thread Sean Malory (Jira)
[ https://issues.apache.org/jira/browse/SPARK-32306?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17199844#comment-17199844 ] Sean Malory commented on SPARK-32306: - Exactly; you should get the median, which is

[jira] [Commented] (SPARK-32306) `approx_percentile` in Spark SQL gives incorrect results

2020-09-21 Thread Maxim Gekk (Jira)
[ https://issues.apache.org/jira/browse/SPARK-32306?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17199839#comment-17199839 ] Maxim Gekk commented on SPARK-32306: The function returns an element of the input se

[jira] [Commented] (SPARK-32306) `approx_percentile` in Spark SQL gives incorrect results

2020-09-21 Thread Jungtaek Lim (Jira)
[ https://issues.apache.org/jira/browse/SPARK-32306?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17199825#comment-17199825 ] Jungtaek Lim commented on SPARK-32306: -- 50% percentile should give you median, not

[jira] [Commented] (SPARK-32306) `approx_percentile` in Spark SQL gives incorrect results

2020-09-21 Thread Sean Malory (Jira)
[ https://issues.apache.org/jira/browse/SPARK-32306?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17199817#comment-17199817 ] Sean Malory commented on SPARK-32306: - I expect the result to be (5 + 8) / 2 = 6.5.

[jira] [Commented] (SPARK-32306) `approx_percentile` in Spark SQL gives incorrect results

2020-09-21 Thread Maxim Gekk (Jira)
[ https://issues.apache.org/jira/browse/SPARK-32306?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17199615#comment-17199615 ] Maxim Gekk commented on SPARK-32306: [~seanmalory] Which result do you expect? 8? >

[jira] [Commented] (SPARK-32306) `approx_percentile` in Spark SQL gives incorrect results

2020-07-16 Thread Sean Malory (Jira)
[ https://issues.apache.org/jira/browse/SPARK-32306?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17158992#comment-17158992 ] Sean Malory commented on SPARK-32306: - Thanks Ankit. > `approx_percentile` in Spark

[jira] [Commented] (SPARK-32306) `approx_percentile` in Spark SQL gives incorrect results

2020-07-15 Thread Ankit Raj Boudh (Jira)
[ https://issues.apache.org/jira/browse/SPARK-32306?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17158863#comment-17158863 ] Ankit Raj Boudh commented on SPARK-32306: - [~seanmalory], i will raise the pr fo