[pipelineX](refactor) remove source state from operator functions (#31435)
This commit is contained in:
@ -144,8 +144,7 @@ bool TableFunctionLocalState::_is_inner_and_empty() {
|
||||
}
|
||||
|
||||
Status TableFunctionLocalState::get_expanded_block(RuntimeState* state,
|
||||
vectorized::Block* output_block,
|
||||
SourceState& source_state) {
|
||||
vectorized::Block* output_block, bool* eos) {
|
||||
auto& p = _parent->cast<TableFunctionOperatorX>();
|
||||
vectorized::MutableBlock m_block = vectorized::VectorizedUtils::build_mutable_mem_reuse_block(
|
||||
output_block, p._output_slots);
|
||||
@ -211,9 +210,7 @@ Status TableFunctionLocalState::get_expanded_block(RuntimeState* state,
|
||||
RETURN_IF_ERROR(vectorized::VExprContext::filter_block(_conjuncts, output_block,
|
||||
output_block->columns()));
|
||||
|
||||
if (_child_source_state == SourceState::FINISHED && _cur_child_offset == -1) {
|
||||
source_state = SourceState::FINISHED;
|
||||
}
|
||||
*eos = _child_eos && _cur_child_offset == -1;
|
||||
return Status::OK();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user