wangjiaochun created SPARK-26287:
------------------------------------

             Summary: Don't need to create an empty spill file when memory has 
no records
                 Key: SPARK-26287
                 URL: https://issues.apache.org/jira/browse/SPARK-26287
             Project: Spark
          Issue Type: Improvement
          Components: Spark Core
    Affects Versions: 2.4.0
            Reporter: wangjiaochun


In the function writeSortedFile of the class ShuffleExternalSorter 

when If there are no records in memory, then we don't need to create an empty 
spill file.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to