Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/sql-performance-tuning.md
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ The following SQL properties enable Storage Partition Join in different join que
<thead><tr><th>Property Name</th><th>Default</th><th>Meaning</th><th>Since Version</th></tr></thead>
<tr>
<td><code>spark.sql.sources.v2.bucketing.enabled</code></td>
<td>false</td>
<td>true</td>
<td>
When true, try to eliminate shuffle by using the partitioning reported by a compatible V2 data source.
</td>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1729,7 +1729,7 @@ object SQLConf {
"avoid shuffle if necessary.")
.version("3.3.0")
.booleanConf
.createWithDefault(false)
.createWithDefault(true)

val V2_BUCKETING_PUSH_PART_VALUES_ENABLED =
buildConf("spark.sql.sources.v2.bucketing.pushPartValues.enabled")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1217,7 +1217,8 @@ abstract class DynamicPartitionPruningSuiteBase
test("SPARK-32509: Unused Dynamic Pruning filter shouldn't affect " +
"canonicalization and exchange reuse") {
withSQLConf(SQLConf.DYNAMIC_PARTITION_PRUNING_REUSE_BROADCAST_ONLY.key -> "true") {
withSQLConf(SQLConf.AUTO_BROADCASTJOIN_THRESHOLD.key -> "-1") {
withSQLConf(SQLConf.AUTO_BROADCASTJOIN_THRESHOLD.key -> "-1",
SQLConf.V2_BUCKETING_ENABLED.key -> "false") {
val df = sql(
""" WITH view1 as (
| SELECT f.store_id FROM fact_stats f WHERE f.units_sold = 70
Expand Down