GitHub user wangjiaochun opened a pull request:

    https://github.com/apache/spark/pull/23225

    [MINOR][CORE]Don't need to create an empty spill file when memory has no 
records

    ## What changes were proposed in this pull request?
     If there are no records in memory, then we don't need to create an empty 
temp spill file.
    
    ## How was this patch tested?
    Existing tests
    
    (Please explain how this patch was tested. E.g. unit tests, integration 
tests, manual tests)
    (If this patch involves UI changes, please attach a screenshot; otherwise, 
remove this)
    
    Please review http://spark.apache.org/contributing.html before opening a 
pull request.


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/wangjiaochun/spark ShufflSorter

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/23225.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #23225
    
----
commit 6f9dcee39131429d9b40df45229149ffdde4fdbd
Author: 10087686 <wang.jiaochun@...>
Date:   2018-12-05T07:52:55Z

    "add if"

----


---

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

Reply via email to