This is an automated email from the ASF dual-hosted git repository.

JingsongLi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/paimon.git


The following commit(s) were added to refs/heads/master by this push:
     new b1841c3aa9 [core] Fix stale default value in 
sort-compaction.range-strategy description (#9104)
b1841c3aa9 is described below

commit b1841c3aa994ceabc8d9947a5993157565746a41
Author: jackylee <[email protected]>
AuthorDate: Mon Aug 10 16:44:40 2026 +0800

    [core] Fix stale default value in sort-compaction.range-strategy 
description (#9104)
---
 docs/generated/core_configuration.html                      | 4 ++--
 paimon-api/src/main/java/org/apache/paimon/CoreOptions.java | 7 ++++---
 2 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/docs/generated/core_configuration.html 
b/docs/generated/core_configuration.html
index 434ad80139..97aad92975 100644
--- a/docs/generated/core_configuration.html
+++ b/docs/generated/core_configuration.html
@@ -1612,8 +1612,8 @@ For an internal format table in a REST catalog, it also 
makes the catalog own th
             <td><h5>sort-compaction.range-strategy</h5></td>
             <td style="word-wrap: break-word;">SIZE</td>
             <td><p>Enum</p></td>
-            <td>The range strategy of sort compaction, the default value is 
quantity.
-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>
+            <td>The range strategy of sort compaction, the default value is 
size.
+The size strategy ranges by the data size allocated to each sorting task, 
which avoids the performance bottlenecks caused by uneven data size. The config 
can be set to quantity to range by the number of rows instead.<br /><br 
/>Possible values:<ul><li>"SIZE"</li><li>"QUANTITY"</li></ul></td>
         </tr>
         <tr>
             <td><h5>sort-engine</h5></td>
diff --git a/paimon-api/src/main/java/org/apache/paimon/CoreOptions.java 
b/paimon-api/src/main/java/org/apache/paimon/CoreOptions.java
index bc1a2102bc..3c644d953b 100644
--- a/paimon-api/src/main/java/org/apache/paimon/CoreOptions.java
+++ b/paimon-api/src/main/java/org/apache/paimon/CoreOptions.java
@@ -2166,9 +2166,10 @@ public class CoreOptions implements Serializable {
                     .enumType(RangeStrategy.class)
                     .defaultValue(RangeStrategy.SIZE)
                     .withDescription(
-                            "The range strategy of sort compaction, the 
default value is quantity.\n"
-                                    + "If the data size allocated for the 
sorting task is uneven,which may lead to performance bottlenecks, "
-                                    + "the config can be set to size.");
+                            "The range strategy of sort compaction, the 
default value is size.\n"
+                                    + "The size strategy ranges by the data 
size allocated to each sorting task, which avoids "
+                                    + "the performance bottlenecks caused by 
uneven data size. "
+                                    + "The config can be set to quantity to 
range by the number of rows instead.");
 
     public static final ConfigOption<Integer> 
SORT_COMPACTION_SAMPLE_MAGNIFICATION =
             key("sort-compaction.local-sample.magnification")

Reply via email to