Skip to content

Commit

Permalink
[bug](explode) fix table node not implement alloc_resource function
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangstar333 committed Sep 7, 2023
1 parent 95ae537 commit ec9dbd6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions be/src/vec/exec/vtable_function_node.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,9 @@ class VTableFunctionNode final : public ExecNode {

Status init(const TPlanNode& tnode, RuntimeState* state = nullptr) override;
Status prepare(RuntimeState* state) override;
Status open(RuntimeState* state) override {
RETURN_IF_ERROR(alloc_resource(state));
Status open(RuntimeState* state) override { return alloc_resource(state); }
Status alloc_resource(RuntimeState* state) override {
RETURN_IF_ERROR(ExecNode::alloc_resource(state));
RETURN_IF_ERROR(VExpr::open(_vfn_ctxs, state));
return _children[0]->open(state);
}
Expand Down

0 comments on commit ec9dbd6

Please sign in to comment.