Skip to content

Commit

Permalink
fix compile
Browse files Browse the repository at this point in the history
  • Loading branch information
bobhan1 committed Jan 16, 2025
1 parent cc9692f commit 507956a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions be/src/olap/base_tablet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1145,15 +1145,15 @@ Status BaseTablet::generate_new_block_for_flexible_partial_update(
// - if the previous conflicting row is deleted, we should use the value in current block as its final value
// - if the previous conflicting row is an insert, we should use the value in old block as its final value to
// keep consistency between replicas
new_col->insert_from(cur_col, read_index_update[idx]);
new_col->insert_from(cur_col, read_index_update[cast_set<uint32_t>(idx)]);
} else {
new_col->insert_default();
}
} else {
new_col->insert_from(old_value_col, read_index_old[idx]);
new_col->insert_from(old_value_col, read_index_old[cast_set<uint32_t>(idx)]);
}
} else {
new_col->insert_from(cur_col, read_index_update[idx]);
new_col->insert_from(cur_col, read_index_update[cast_set<uint32_t>(idx)]);
}
};

Expand Down

0 comments on commit 507956a

Please sign in to comment.