From 0c8ea8ce9fa1faa411eebbca3896542d31291d92 Mon Sep 17 00:00:00 2001 From: dataroaring <98214048+dataroaring@users.noreply.github.com> Date: Tue, 12 Apr 2022 19:56:03 +0800 Subject: [PATCH] [Vectorizd] Let VAssertRowNumNode handle return value of child->get_next (#8969) --- be/src/vec/exec/vassert_num_rows_node.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {