You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Wenchen Fan (Jira)" <ji...@apache.org> on 2022/08/17 09:47:00 UTC

[jira] [Resolved] (SPARK-40105) Improve repartition in ReplaceCTERefWithRepartition

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

Wenchen Fan resolved SPARK-40105.
---------------------------------
    Fix Version/s: 3.4.0
       Resolution: Fixed

Issue resolved by pull request 37537
[https://github.com/apache/spark/pull/37537]

> Improve repartition in ReplaceCTERefWithRepartition
> ---------------------------------------------------
>
>                 Key: SPARK-40105
>                 URL: https://issues.apache.org/jira/browse/SPARK-40105
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 3.4.0
>            Reporter: XiDuo You
>            Priority: Minor
>             Fix For: 3.4.0
>
>
> If cte can not inlined, the ReplaceCTERefWithRepartition will add repartition to force a shuffle so that the reference can reuse shuffle exchange.
> The added repartition should be optimized by AQE for better performance.
> If the user has specified a rebalance, the ReplaceCTERefWithRepartition should skip add repartition.



--
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