dongjoon-hyun commented on code in PR #39633:
URL: https://github.com/apache/spark/pull/39633#discussion_r1082084567
##########
sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala:
##########
@@ -1424,6 +1424,18 @@ object SQLConf {
.booleanConf
.createWithDefault(false)
+ val V2_BUCKETING_PARTIALLY_CLUSTERED_DISTRIBUTION_ENABLED =
+
buildConf("spark.sql.sources.v2.bucketing.partiallyClusteredDistribution.enabled")
+ .doc("During a storage-partitioned join, whether to allow input
partitions to be " +
+ "partially clustered, when both sides of the join are of
KeyGroupedPartitioning. At " +
+ "planning time, Spark will pick the side with less data size based
on table " +
+ "statistics, group and replicate them to match the other side.
This can help to " +
+ "reduce data skewness when certain partition values have large
amount of data. This " +
+ s"config requires both ${V2_BUCKETING_ENABLED.key} and " +
+ s"${V2_BUCKETING_PUSH_PART_VALUES_ENABLED.key} to be enabled")
Review Comment:
We need a version.
```scala
.version("3.4.0")
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]