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

Scala Client Dataset#reduce failed to handle null partitions for scala primitive types

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.5.0
    • 3.5.0
    • Connect
    • None

    Description

      Scala client failed with NPE when running:

      assert(spark.range(0, 5, 1, 10).as[Long].reduce(_ + _) == 10)

      Attachments

        Activity

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

          People

            zhenli Zhen Li
            zhenli Zhen Li
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment