You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (Jira)" <ji...@apache.org> on 2021/03/03 23:35:00 UTC

[jira] [Commented] (SPARK-34610) Fix Python UDF used in GroupedAggPandasUDFTests.

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

Apache Spark commented on SPARK-34610:
--------------------------------------

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

> Fix Python UDF used in GroupedAggPandasUDFTests.
> ------------------------------------------------
>
>                 Key: SPARK-34610
>                 URL: https://issues.apache.org/jira/browse/SPARK-34610
>             Project: Spark
>          Issue Type: Test
>          Components: PySpark
>    Affects Versions: 2.4.7, 3.0.2, 3.1.1
>            Reporter: Takuya Ueshin
>            Priority: Major
>
> The Python UDF {{plus_one}} used in {{GroupedAggPandasUDFTests}} is always returning {{v + 1}} regardless of its type. The return type of the UDF is 'double', so if the input is {{int}}, the result will be {{null}}.



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

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