Skip to content

Commit

Permalink
[Fix](autoinc) Init auto increment info in VOlapTableSinkV2 (#26502)
Browse files Browse the repository at this point in the history
  • Loading branch information
bobhan1 authored Nov 7, 2023
1 parent f0bf3fa commit 3ad8e27
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion be/src/vec/sink/vtablet_sink_v2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,8 @@ Status VOlapTableSinkV2::prepare(RuntimeState* state) {
_tuple_desc_id);
}
_block_convertor = std::make_unique<OlapTableBlockConvertor>(_output_tuple_desc);

_block_convertor->init_autoinc_info(_schema->db_id(), _schema->table_id(),
_state->batch_size());
// add all counter
_input_rows_counter = ADD_COUNTER(_profile, "RowsRead", TUnit::UNIT);
_output_rows_counter = ADD_COUNTER(_profile, "RowsReturned", TUnit::UNIT);
Expand Down

0 comments on commit 3ad8e27

Please sign in to comment.