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

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

Takuya Ueshin created SPARK-34610:
-------------------------------------

             Summary: 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: 3.1.1, 3.0.2, 2.4.7
            Reporter: Takuya Ueshin


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