[bug](explode) fix table node not implement alloc_resource function (#24031)
fix table node not implement alloc_resource function
This commit is contained in:
@ -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; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user