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

Correctness issue when persisting using StorageLevel.NONE

    XMLWordPrintableJSON

Details

    Description

      When using spark 3.5.0 this code

      import org.apache.spark.storage.StorageLevel
      spark.createDataset(Seq(1,2,3)).persist(StorageLevel.NONE).count() 

      incorrectly returns 0.

      Attachments

        Activity

          People

            eejbyfeldt Emil Ejbyfeldt
            eejbyfeldt Emil Ejbyfeldt
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: