Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-34610

Fix Python UDF used in GroupedAggPandasUDFTests.

    XMLWordPrintableJSON

Details

    • Test
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.4.7, 3.0.2, 3.1.1
    • 3.0.3, 3.1.2, 3.2.0
    • PySpark
    • None

    Description

      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.

      Attachments

        Activity

          People

            ueshin Takuya Ueshin
            ueshin Takuya Ueshin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: