You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2023/10/19 09:04:00 UTC

[jira] [Assigned] (SPARK-45607) Collapse repartition operators with a project

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

ASF GitHub Bot reassigned SPARK-45607:
--------------------------------------

    Assignee:     (was: Apache Spark)

> Collapse repartition operators with a 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
>            Priority: Major
>              Labels: pull-request-available
>
> 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