You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by li...@apache.org on 2022/04/12 11:56:12 UTC

[incubator-doris] branch master updated: [Vectorizd] Let VAssertRowNumNode handle return value of child->get_next (#8969)

This is an automated email from the ASF dual-hosted git repository.

lihaopeng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-doris.git


The following commit(s) were added to refs/heads/master by this push:
     new 0c8ea8ce9f [Vectorizd] Let VAssertRowNumNode handle return value of child->get_next (#8969)
0c8ea8ce9f is described below

commit 0c8ea8ce9fa1faa411eebbca3896542d31291d92
Author: dataroaring <98...@users.noreply.github.com>
AuthorDate: Tue Apr 12 19:56:03 2022 +0800

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org