[Refactor](table function) Decouple vectorized table functions from non-vectorized ones (#15772)
This commit is contained in:
@ -32,6 +32,14 @@ Status VExplodeSplitTableFunction::open() {
|
||||
return Status::OK();
|
||||
}
|
||||
|
||||
Status VExplodeSplitTableFunction::reset() {
|
||||
_eos = false;
|
||||
if (!_is_current_empty) {
|
||||
_cur_offset = 0;
|
||||
}
|
||||
return Status::OK();
|
||||
}
|
||||
|
||||
Status VExplodeSplitTableFunction::process_init(vectorized::Block* block) {
|
||||
CHECK(_vexpr_context->root()->children().size() == 2)
|
||||
<< "VExplodeSplitTableFunction must be have 2 children but have "
|
||||
|
||||
Reference in New Issue
Block a user