[ 
https://issues.apache.org/jira/browse/SPARK-35961?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

XiDuo You updated SPARK-35961:
------------------------------
    Summary: Only use local shuffle reader when REBALANCE_PARTITIONS_BY_NONE 
without CustomShuffleReaderExec  (was: Only use local shuffle reader for 
REBALANCE_PARTITIONS_BY_NONE without CustomShuffleReaderExec)

> Only use local shuffle reader when REBALANCE_PARTITIONS_BY_NONE without 
> CustomShuffleReaderExec
> -----------------------------------------------------------------------------------------------
>
>                 Key: SPARK-35961
>                 URL: https://issues.apache.org/jira/browse/SPARK-35961
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 3.2.0
>            Reporter: XiDuo You
>            Priority: Major
>
> After [SPARK-35725](https://issues.apache.org/jira/browse/SPARK-35725), we 
> might expand partition if that partition is skewed. So the partition number 
> check `bytesByPartitionId.length == partitionSpecs.size` would be wrong if 
> some partitions are coalesced and some partitions are splitted into smaller.
> Note that, it's unlikely happened in real world since it used RoundRobin.
> Otherhand, after 
> [SPARK-34899](https://issues.apache.org/jira/browse/SPARK-34899), we use 
> origin plan if can not coalesce partitions. So the assuming of that shuffle 
> stage has `CustomShuffleReaderExec` with no effect is always false in 
> `REBALANCE_PARTITIONS_BY_NONE` shuffle origin. That said, if no rule was 
> efficient, there would be no `CustomShuffleReaderExec`.



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

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

Reply via email to