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

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

commit d91032ca446bc70aff6459d8fd6268616ae95197
Author: dataroaring <98214048+dataroar...@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-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to