Skip to content

Commit

Permalink
remove
Browse files Browse the repository at this point in the history
  • Loading branch information
mymeiyi committed Jul 26, 2024
1 parent 7f2c9db commit a21c7c4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
13 changes: 0 additions & 13 deletions be/src/olap/rowset/segment_v2/vertical_segment_writer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -830,19 +830,6 @@ Status VerticalSegmentWriter::_append_block_with_variant_subcolumns(RowsInBlock&
return Status::OK();
}

bool VerticalSegmentWriter::_is_key_column(uint32_t cid) {
if (_tablet_schema->cluster_key_idxes().empty()) {
return cid < _num_key_columns;
} else {
for (auto id : _tablet_schema->cluster_key_idxes()) {
if (cid == id) {
return true;
}
}
return false;
}
}

Status VerticalSegmentWriter::write_batch() {
if (_opts.rowset_ctx->partial_update_info &&
_opts.rowset_ctx->partial_update_info->is_partial_update &&
Expand Down
1 change: 0 additions & 1 deletion be/src/olap/rowset/segment_v2/vertical_segment_writer.h
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,6 @@ class VerticalSegmentWriter {
const std::vector<bool>& use_default_or_null_flag,
bool has_default_or_nullable, const size_t& segment_start_pos,
const vectorized::Block* block);
bool _is_key_column(uint32_t cid);
Status _generate_primary_key_index(
const std::vector<const KeyCoder*>& primary_key_coders,
const std::vector<vectorized::IOlapColumnDataAccessor*>& primary_key_columns,
Expand Down

0 comments on commit a21c7c4

Please sign in to comment.