diff --git a/be/src/vec/exec/vassert_num_rows_node.cpp b/be/src/vec/exec/vassert_num_rows_node.cpp index b499175bed..d802ba12e0 100644 --- a/be/src/vec/exec/vassert_num_rows_node.cpp +++ b/be/src/vec/exec/vassert_num_rows_node.cpp @@ -49,7 +49,7 @@ Status VAssertNumRowsNode::open(RuntimeState* state) { Status VAssertNumRowsNode::get_next(RuntimeState* state, Block* block, bool* eos) { RETURN_IF_ERROR(exec_debug_action(TExecNodePhase::GETNEXT)); SCOPED_TIMER(_runtime_profile->total_time_counter()); - child(0)->get_next(state, block, eos); + RETURN_IF_ERROR(child(0)->get_next(state, block, eos)); _num_rows_returned += block->rows(); bool assert_res = false; switch (_assertion) {