You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Wan Kun (Jira)" <ji...@apache.org> on 2023/10/19 08:45:00 UTC
[jira] [Created] (SPARK-45607) Collapse repartition with project
Wan Kun created SPARK-45607:
-------------------------------
Summary: Collapse repartition with project
Key: SPARK-45607
URL: https://issues.apache.org/jira/browse/SPARK-45607
Project: Spark
Issue Type: Improvement
Components: SQL
Affects Versions: 4.0.0
Reporter: Wan Kun
We can collapse two repartition operators with a project between them.
For example:
df.repartition($"a").select($"a", $"b", $"a" + $"b").repartition($"b")
is same to
df.select($"a", $"b", $"a" + $"b").repartition($"b")
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org