[Bug](pipeline) Fix bugs to pass TPCDS cases (#15194)

This commit is contained in:
Gabriel
2022-12-20 22:29:55 +08:00
committed by GitHub
parent 5c35f02bdb
commit 732417258c
241 changed files with 18082 additions and 59 deletions

View File

@ -21,4 +21,15 @@ namespace doris::pipeline {
OPERATOR_CODE_GENERATOR(TableFunctionOperator, StatefulOperator)
Status TableFunctionOperator::prepare(doris::RuntimeState* state) {
// just for speed up, the way is dangerous
_child_block.reset(_node->get_child_block());
return StatefulOperator::prepare(state);
}
Status TableFunctionOperator::close(doris::RuntimeState* state) {
_child_block.release();
return StatefulOperator::close(state);
}
} // namespace doris::pipeline