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

Apache Spark commented on SPARK-22106:
--------------------------------------

User 'BryanCutler' has created a pull request for this issue:
https://github.com/apache/spark/pull/19325

> Remove support for 0-parameter pandas_udfs
> ------------------------------------------
>
>                 Key: SPARK-22106
>                 URL: https://issues.apache.org/jira/browse/SPARK-22106
>             Project: Spark
>          Issue Type: Improvement
>          Components: PySpark, SQL
>    Affects Versions: 2.3.0
>            Reporter: Bryan Cutler
>
> SPARK-21190 Added support for vectorized pandas_udfs and allows a 0-parameter 
> udf to be created, but it must accept **kwargs to get the correct length of 
> the vector to return. This behavior is a confusing and awkward to implement 
> and the overall pandas_udf usage would be much cleaner if this was not 
> allowed.



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

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

Reply via email to