[Vectorizd] Let VAssertRowNumNode handle return value of child->get_next (#8969)

This commit is contained in:
dataroaring
2022-04-12 19:56:03 +08:00
committed by GitHub
parent 6af1c52e13
commit 0c8ea8ce9f

View File

@ -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) {