You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (Jira)" <ji...@apache.org> on 2021/03/04 01:06:00 UTC
[jira] [Resolved] (SPARK-34610) Fix Python UDF used in
GroupedAggPandasUDFTests.
[ https://issues.apache.org/jira/browse/SPARK-34610?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hyukjin Kwon resolved SPARK-34610.
----------------------------------
Assignee: Takuya Ueshin
Resolution: Fixed
Fixed in 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
> Assignee: Takuya Ueshin
> Priority: Major
> Fix For: 3.2.0, 3.1.2, 3.0.3
>
>
> 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