Skip to content

Commit 2cfcc0f

Browse files
qzseegarenshihello-stephengarenshi
authored
[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]>
1 parent 5e0c87f commit 2cfcc0f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

be/src/vec/common/sort/partition_sorter.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,8 +191,7 @@ Status PartitionSorter::_read_row_rank(Block* output_block, bool* eos, int batch
191191
_output_distinct_rows++;
192192
}
193193
for (size_t i = 0; i < num_columns; ++i) {
194-
merged_columns[i]->insert_from(*current->impl->block->get_columns()[i],
195-
current->impl->pos);
194+
merged_columns[i]->insert_from(*current->impl->columns[i], current->impl->pos);
196195
}
197196
merged_rows++;
198197
_output_total_rows++;

0 commit comments

Comments
 (0)