You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "ulysses you (Jira)" <ji...@apache.org> on 2021/04/27 07:12:00 UTC

[jira] [Created] (SPARK-35239) Coalesce shuffle partition should handle empty input RDD

ulysses you created SPARK-35239:
-----------------------------------

             Summary:  Coalesce shuffle partition should handle empty input RDD
                 Key: SPARK-35239
                 URL: https://issues.apache.org/jira/browse/SPARK-35239
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 3.2.0
            Reporter: ulysses you


If input RDD partition is empty then the map output statistics will be null. And if all shuffle stage's input RDD partition is empty, we will skip it and lose the chance to coalesce partition.

 

We can simply create a empty partition for these custom shuffle reader to reduce the partition number.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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