[Bug](pipeline) Fix bugs to pass TPCDS cases (#15194)
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user