Skip to content

Commit

Permalink
[fix](compaction) fix missing flush column during compaction (apache#…
Browse files Browse the repository at this point in the history
…38356)

apache#37960 introduces this problem
  • Loading branch information
luwei16 committed Aug 4, 2024
1 parent 75699c6 commit a5d9332
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions be/src/olap/rowset/vertical_beta_rowset_writer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ Status VerticalBetaRowsetWriter::add_columns(const vectorized::Block* block,

if (num_rows_key_group == num_rows_written + to_write &&
_cur_writer_idx < _segment_writers.size() - 1) {
RETURN_IF_ERROR(_flush_columns(_segment_writers[_cur_writer_idx].get()));
++_cur_writer_idx;
}
}
Expand Down

0 comments on commit a5d9332

Please sign in to comment.