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

panxiaolei pushed a commit to branch dev_0925
in repository https://gitbox.apache.org/repos/asf/doris.git

commit 30f67f2d0e62ba5d5b7bfaef35ae77057c2159f3
Author: BiteTheDDDDt <[email protected]>
AuthorDate: Wed Sep 25 14:35:01 2024 +0800

    enlarge HEAP_SORT_THRESHOLD to 50000
---
 be/src/vec/common/sort/heap_sorter.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/be/src/vec/common/sort/heap_sorter.h 
b/be/src/vec/common/sort/heap_sorter.h
index f036e9b360c..916fc1610e5 100644
--- a/be/src/vec/common/sort/heap_sorter.h
+++ b/be/src/vec/common/sort/heap_sorter.h
@@ -98,7 +98,7 @@ public:
 
     Field get_top_value() override;
 
-    static constexpr size_t HEAP_SORT_THRESHOLD = 1024;
+    static constexpr size_t HEAP_SORT_THRESHOLD = 50000;
 
 private:
     void _do_filter(HeapSortCursorBlockView& block_view, size_t num_rows);


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to