[pipelineX](dependency) split different dependencies (#27366)
This commit is contained in:
@ -305,10 +305,10 @@ void PipBufferControlBlock::set_dependency(
|
||||
void PipBufferControlBlock::_update_dependency() {
|
||||
if (_result_sink_dependency &&
|
||||
(_batch_queue_empty || _buffer_rows < _buffer_limit || _is_cancelled)) {
|
||||
_result_sink_dependency->set_ready_for_write();
|
||||
_result_sink_dependency->set_ready();
|
||||
} else if (_result_sink_dependency &&
|
||||
(!_batch_queue_empty && _buffer_rows < _buffer_limit && !_is_cancelled)) {
|
||||
_result_sink_dependency->block_writing();
|
||||
_result_sink_dependency->block();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user