Skip to content

Commit

Permalink
fix wrong argument pass
Browse files Browse the repository at this point in the history
  • Loading branch information
BiteTheDDDDt committed May 25, 2022
1 parent 3b69aa8 commit dc3aa43
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions be/src/vec/olap/olap_data_convertor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -372,10 +372,9 @@ Status OlapBlockDataConvertor::OlapColumnDataConvertorChar::convert_to_olap() {

assert(column_string);

size_t rows = column_string->size();
// If column_string is not padded to full, we should do padding here.
if (should_padding(column_string, _length)) {
_column = clone_and_padding(column_string, rows);
_column = clone_and_padding(column_string, _length);
column_string = assert_cast<const vectorized::ColumnString*>(_column.get());
}

Expand Down

0 comments on commit dc3aa43

Please sign in to comment.