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 2019/11/15 08:02:00 UTC
[jira] [Created] (SPARK-29912) Pruning shuffle exchange when input
and output both are one partition
ulysses you created SPARK-29912:
-----------------------------------
Summary: Pruning shuffle exchange 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
It is meaningless to do `repartition(1)` or `coalesce(1)` when a plan child just have one partition.
Now, we can not get the output numPartitions during logic plan, so the issue pruning the operation in physical plan.
--
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