[ https://issues.apache.org/jira/browse/SPARK-35961?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
XiDuo You updated SPARK-35961: ------------------------------ Parent: SPARK-35793 Issue Type: Sub-task (was: Improvement) > Only use local shuffle reader for 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 (it's unlikely 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. That > said, if no rule is 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