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

Fix Python UDF used in GroupedAggPandasUDFTests.

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersStop watchingWatchersCreate sub-taskConvert to sub-taskLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            ueshin Takuya Ueshin Assign to me
            ueshin Takuya Ueshin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Stop watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment