Skip to content

Commit b89e6ed

Browse files
committed
[core] change range strategy of clustering to 'SIZE'
1 parent a93be1f commit b89e6ed

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/layouts/shortcodes/generated/core_configuration.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1195,7 +1195,7 @@
11951195
</tr>
11961196
<tr>
11971197
<td><h5>sort-compaction.range-strategy</h5></td>
1198-
<td style="word-wrap: break-word;">QUANTITY</td>
1198+
<td style="word-wrap: break-word;">SIZE</td>
11991199
<td><p>Enum</p></td>
12001200
<td>The range strategy of sort compaction, the default value is quantity.
12011201
If the data size allocated for the sorting task is uneven,which may lead to performance bottlenecks, the config can be set to size.<br /><br />Possible values:<ul><li>"SIZE"</li><li>"QUANTITY"</li></ul></td>

paimon-api/src/main/java/org/apache/paimon/CoreOptions.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1744,7 +1744,7 @@ public InlineElement getDescription() {
17441744
public static final ConfigOption<RangeStrategy> SORT_RANG_STRATEGY =
17451745
key("sort-compaction.range-strategy")
17461746
.enumType(RangeStrategy.class)
1747-
.defaultValue(RangeStrategy.QUANTITY)
1747+
.defaultValue(RangeStrategy.SIZE)
17481748
.withDescription(
17491749
"The range strategy of sort compaction, the default value is quantity.\n"
17501750
+ "If the data size allocated for the sorting task is uneven,which may lead to performance bottlenecks, "

0 commit comments

Comments
 (0)