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

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


The following commit(s) were added to refs/heads/master by this push:
     new ff4917475 Revert "[core] Change default sort engine back to min heap 
(#1464)"
ff4917475 is described below

commit ff491747554eb0d8a5c44bda95844839e72a979c
Author: tsreaper <[email protected]>
AuthorDate: Fri Jun 30 22:12:11 2023 +0800

    Revert "[core] Change default sort engine back to min heap (#1464)"
    
    This reverts commit 9fb1475d
---
 docs/layouts/shortcodes/generated/core_configuration.html    | 2 +-
 paimon-core/src/main/java/org/apache/paimon/CoreOptions.java | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/layouts/shortcodes/generated/core_configuration.html 
b/docs/layouts/shortcodes/generated/core_configuration.html
index ae797dc7d..f64f3d104 100644
--- a/docs/layouts/shortcodes/generated/core_configuration.html
+++ b/docs/layouts/shortcodes/generated/core_configuration.html
@@ -406,7 +406,7 @@ under the License.
         </tr>
         <tr>
             <td><h5>sort-engine</h5></td>
-            <td style="word-wrap: break-word;">min-heap</td>
+            <td style="word-wrap: break-word;">loser-tree</td>
             <td><p>Enum</p></td>
             <td>Specify the sort engine for table with primary key.<br /><br 
/>Possible values:<ul><li>"min-heap": Use min-heap for multiway 
sorting.</li><li>"loser-tree": Use loser-tree for multiway sorting. Compared 
with heapsort, loser-tree has fewer comparisons and is more 
efficient.</li></ul></td>
         </tr>
diff --git a/paimon-core/src/main/java/org/apache/paimon/CoreOptions.java 
b/paimon-core/src/main/java/org/apache/paimon/CoreOptions.java
index e6df397b0..3b56c3daf 100644
--- a/paimon-core/src/main/java/org/apache/paimon/CoreOptions.java
+++ b/paimon-core/src/main/java/org/apache/paimon/CoreOptions.java
@@ -197,7 +197,7 @@ public class CoreOptions implements Serializable {
     public static final ConfigOption<SortEngine> SORT_ENGINE =
             key("sort-engine")
                     .enumType(SortEngine.class)
-                    .defaultValue(SortEngine.MIN_HEAP)
+                    .defaultValue(SortEngine.LOSER_TREE)
                     .withDescription("Specify the sort engine for table with 
primary key.");
 
     public static final ConfigOption<Integer> SORT_SPILL_THRESHOLD =

Reply via email to