Skip to content
Permalink
Browse files
[fix](storage-vectorized) fix VMergeIterator core dump (#9564)
It could be re appeared on rowset with many segment, it means segment overlap. Maybe could not reappear it easily.
  • Loading branch information
liaoxin01 committed May 17, 2022
1 parent 72e0042 commit 7d9fa04472ac2d8123529808b1f4c1ccebd14954
Showing 1 changed file with 1 addition and 3 deletions.
@@ -178,9 +178,7 @@ class VMergeIteratorContext {
vectorized::Block& src = _block;
vectorized::Block& dst = *block;

auto columns = _iter->schema().columns();

for (size_t i = 0; i < columns.size(); ++i) {
for (size_t i = 0; i < _iter->schema().num_column_ids(); ++i) {
vectorized::ColumnWithTypeAndName s_col = src.get_by_position(i);
vectorized::ColumnWithTypeAndName d_col = dst.get_by_position(i);

0 comments on commit 7d9fa04

Please sign in to comment.