[Refactor](table function) Decouple vectorized table functions from non-vectorized ones (#15772)

This commit is contained in:
Gabriel
2023-01-12 15:08:21 +08:00
committed by GitHub
parent ef0e0cf68d
commit 0fbdf8e3e1
27 changed files with 382 additions and 935 deletions

View File

@ -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 "