[
https://issues.apache.org/jira/browse/SPARK-29912?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ulysses you updated SPARK-29912:
--------------------------------
Description:
It is meaningless to do `repartition(1)` or `coalesce(1)` when a child plan
just output one partition.
Now, we can not get the output numPartitions during logic plan, so this issue
pruning the operation in physical plan.
was:
It is meaningless to do `repartition(1)` or `coalesce(1)` when a plan child
just output one partition.
Now, we can not get the output numPartitions during logic plan, so this issue
pruning the operation in physical plan.
> Pruning shuffle exchange and coalesce when input and output both are one
> partition
> ----------------------------------------------------------------------------------
>
> Key: SPARK-29912
> URL: https://issues.apache.org/jira/browse/SPARK-29912
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Affects Versions: 3.0.0
> Reporter: ulysses you
> Priority: Minor
>
> It is meaningless to do `repartition(1)` or `coalesce(1)` when a child plan
> just output one partition.
> Now, we can not get the output numPartitions during logic plan, so this issue
> pruning the operation in physical plan.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]