This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a commit to branch branch-2.1
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-2.1 by this push:
new 869680bf38f [Improvement](sort) enlarge HEAP_SORT_THRESHOLD to 50000
(#41272)
869680bf38f is described below
commit 869680bf38f97d9a030f6b78a0086f81eba86392
Author: Pxl <[email protected]>
AuthorDate: Wed Sep 25 17:30:00 2024 +0800
[Improvement](sort) enlarge HEAP_SORT_THRESHOLD to 50000 (#41272)
## Proposed changes
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]