[jira] [Commented] (SPARK-27345) Expose approx_percentile in python api

2020-09-21 Thread Maxim Gekk (Jira)


[ 
https://issues.apache.org/jira/browse/SPARK-27345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17199618#comment-17199618
 ] 

Maxim Gekk commented on SPARK-27345:


The function was exposed recently by https://github.com/apache/spark/pull/27278

> Expose approx_percentile in python api
> --
>
> Key: SPARK-27345
> URL: https://issues.apache.org/jira/browse/SPARK-27345
> Project: Spark
>  Issue Type: Improvement
>  Components: PySpark
>Affects Versions: 2.3.2
>Reporter: Roi Zaig
>Priority: Major
>
> The function approx_percentile does is not exposed in the PySpark api.
> We need to work around it by writing a sql and then back to data frame.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Commented] (SPARK-27345) Expose approx_percentile in python api

2019-04-02 Thread Hyukjin Kwon (JIRA)


[ 
https://issues.apache.org/jira/browse/SPARK-27345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16808353#comment-16808353
 ] 

Hyukjin Kwon commented on SPARK-27345:
--

you can easily use it via {{expr(...)}}.

> Expose approx_percentile in python api
> --
>
> Key: SPARK-27345
> URL: https://issues.apache.org/jira/browse/SPARK-27345
> Project: Spark
>  Issue Type: Improvement
>  Components: PySpark
>Affects Versions: 2.3.2
>Reporter: Roi Zaig
>Priority: Major
>
> The function approx_percentile does is not exposed in the PySpark api.
> We need to work around it by writing a sql and then back to data frame.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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