morningman commented on code in PR #8925: URL: https://github.com/apache/incubator-doris/pull/8925#discussion_r846249038
########## be/src/vec/sink/vtablet_sink.cpp: ########## @@ -43,10 +43,11 @@ Status VOlapTableSink::init(const TDataSink& sink) { } Status VOlapTableSink::prepare(RuntimeState* state) { + RETURN_IF_ERROR(OlapTableSink::prepare(state)); // Prepare the exprs to run. RETURN_IF_ERROR(vectorized::VExpr::prepare(_output_vexpr_ctxs, state, _input_row_desc, _expr_mem_tracker)); - return OlapTableSink::prepare(state); + return Status::OK(); Review Comment: Why no need to call `OlapTableSink::prepare(state);`? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org