You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Chao Sun (Jira)" <ji...@apache.org> on 2021/10/22 16:45:00 UTC
[jira] [Updated] (SPARK-35703) Relax constraint for Spark bucket
join and remove HashClusteredDistribution
[ https://issues.apache.org/jira/browse/SPARK-35703?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chao Sun updated SPARK-35703:
-----------------------------
Summary: Relax constraint for Spark bucket join and remove HashClusteredDistribution (was: Remove HashClusteredDistribution)
> Relax constraint for Spark bucket join and remove HashClusteredDistribution
> ---------------------------------------------------------------------------
>
> Key: SPARK-35703
> URL: https://issues.apache.org/jira/browse/SPARK-35703
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Affects Versions: 3.2.0
> Reporter: Chao Sun
> Priority: Major
>
> Currently Spark has {{HashClusteredDistribution}} and {{ClusteredDistribution}}. The only difference between the two is that the former is more strict when deciding whether bucket join is allowed to avoid shuffle: comparing to the latter, it requires *exact* match between the clustering keys from the output partitioning (i.e., {{HashPartitioning}}) and the join keys. However, this is unnecessary, as we should be able to avoid shuffle when the set of clustering keys is a subset of join keys, just like {{ClusteredDistribution}}.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org