Skip to content

Commit

Permalink
[fix](compaction) fix missing flush column during compaction (#38356)
Browse files Browse the repository at this point in the history
#37960 introduces this problem
  • Loading branch information
luwei16 authored Jul 25, 2024
1 parent 11ecadc commit c9da17b
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 @@ -106,6 +106,7 @@ Status VerticalBetaRowsetWriter<T>::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 c9da17b

Please sign in to comment.