Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mymeiyi committed Dec 18, 2024
1 parent 33b8d4b commit 4c1b6b6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions be/src/olap/schema_change.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,8 @@ class MultiBlockMerger {
RowRefComparator(const BaseTablet& tablet) : _num_columns(tablet.num_key_columns()) {}

int compare(const RowRef& lhs, const RowRef& rhs) const {
// Notice: does not compare sequence column for mow table
// read from rowsets with delete bitmap, so there should be no duplicated keys
return lhs.block->compare_at(lhs.position, rhs.position, _num_columns, *rhs.block, -1);
}

Expand Down

0 comments on commit 4c1b6b6

Please sign in to comment.