From 03757d0672ebc7ea4cc3e58e86a3a2cc50eb91fa Mon Sep 17 00:00:00 2001 From: zhangstar333 <87313068+zhangstar333@users.noreply.github.com> Date: Sat, 9 Sep 2023 08:25:28 +0800 Subject: [PATCH] [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; }