You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Penglei Shi (Jira)" <ji...@apache.org> on 2023/01/31 09:20:00 UTC
[jira] [Commented] (SPARK-35725) Support repartition expand partitions in AQE
[ https://issues.apache.org/jira/browse/SPARK-35725?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17682455#comment-17682455 ]
Penglei Shi commented on SPARK-35725:
-------------------------------------
Hi [~ulysses] , advisory partition size for shuffle will be used for splitting skew partitions at present, which is default 64MB. Usually we prefer a samll value such as 32/64mb for bertter performance for intermediate shuffle. But in last shuffle which is come with Rebalance, we prefer a large value such as 128/256mb so that the written files are in appropriate size. So i think we need another target size to split skew partitions in Rebalance, what's your suggestion?
> Support repartition expand partitions in AQE
> --------------------------------------------
>
> Key: SPARK-35725
> URL: https://issues.apache.org/jira/browse/SPARK-35725
> Project: Spark
> Issue Type: Sub-task
> Components: SQL
> Affects Versions: 3.2.0
> Reporter: XiDuo You
> Assignee: XiDuo You
> Priority: Major
> Fix For: 3.2.0
>
>
> Currently, we don't support expand partition dynamically in AQE which is not friendly for some data skew job.
> Let's say if we have a simple query:
> {code:java}
> SELECT * FROM table DISTRIBUTE BY col
> {code}
> The column of `col` is skewed, then some shuffle partitions would handle too much data than others.
> If we haven't inroduced extra shuffle, we can optimize this case by expanding partitions in AQE.
--
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