This is an automated email from the ASF dual-hosted git repository.
lihaopeng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new 2cfcc0ff6d2 [Enchancement](sort) do a little optimization for full
sort (#56944)
2cfcc0ff6d2 is described below
commit 2cfcc0ff6d2a0320c26c45cdcf3676ce66d0bf23
Author: shee <[email protected]>
AuthorDate: Tue Jan 6 00:28:50 2026 +0800
[Enchancement](sort) do a little optimization for full sort (#56944)
Co-authored-by: garenshi <[email protected]>
Co-authored-by: Dongyang Li <[email protected]>
Co-authored-by: garenshi <[email protected]>
---
be/src/vec/common/sort/partition_sorter.cpp | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/be/src/vec/common/sort/partition_sorter.cpp
b/be/src/vec/common/sort/partition_sorter.cpp
index 9eb7ec9000c..55be265db63 100644
--- a/be/src/vec/common/sort/partition_sorter.cpp
+++ b/be/src/vec/common/sort/partition_sorter.cpp
@@ -191,8 +191,7 @@ Status PartitionSorter::_read_row_rank(Block* output_block,
bool* eos, int batch
_output_distinct_rows++;
}
for (size_t i = 0; i < num_columns; ++i) {
-
merged_columns[i]->insert_from(*current->impl->block->get_columns()[i],
- current->impl->pos);
+ merged_columns[i]->insert_from(*current->impl->columns[i],
current->impl->pos);
}
merged_rows++;
_output_total_rows++;
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]