[
https://issues.apache.org/jira/browse/SPARK-35725?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17682460#comment-17682460
]
XiDuo You commented on SPARK-35725:
-----------------------------------
[~Penglei Shi] , It will cause inconsistent. The feature `rebalance` acutally
depends on two rule: 1. optimize skew in rebalance, 2: coalesce shuffle
partition. The key is rule2 always uses the advisory size to coalesce small
partitions. so I think what you need is a config that can control both rule1
and rule2 rather than rule1 only in final shuffle for writefiles. That's why I
reuse the existed advisory size config.
> 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: [email protected]
For additional commands, e-mail: [email protected]