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

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

    [ https://issues.apache.org/jira/browse/SPARK-40105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17580279#comment-17580279 ] 

Apache Spark commented on SPARK-40105:
--------------------------------------

User 'ulysses-you' has created a pull request for this issue:
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
>
> 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