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

kxiao pushed a commit to branch branch-2.0
in repository https://gitbox.apache.org/repos/asf/doris.git

commit a4abcee6c053aa9e314f4c8b47c0582f42ff46dd
Author: zhangstar333 <[email protected]>
AuthorDate: Sat Sep 9 08:25:28 2023 +0800

    [bug](explode) fix table node not implement alloc_resource function (#24031)
    
    fix table node not implement alloc_resource function
---
 be/src/vec/exec/vtable_function_node.h | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/be/src/vec/exec/vtable_function_node.h 
b/be/src/vec/exec/vtable_function_node.h
index db88147cf4..9477988047 100644
--- a/be/src/vec/exec/vtable_function_node.h
+++ b/be/src/vec/exec/vtable_function_node.h
@@ -56,9 +56,12 @@ public:
     Status prepare(RuntimeState* state) override;
     Status open(RuntimeState* state) override {
         RETURN_IF_ERROR(alloc_resource(state));
-        RETURN_IF_ERROR(VExpr::open(_vfn_ctxs, state));
         return _children[0]->open(state);
     }
+    Status alloc_resource(RuntimeState* state) override {
+        RETURN_IF_ERROR(ExecNode::alloc_resource(state));
+        return VExpr::open(_vfn_ctxs, state);
+    }
     Status get_next(RuntimeState* state, Block* block, bool* eos) override;
     bool need_more_input_data() const { return !_child_block.rows() && 
!_child_eos; }
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to