Skip to content

Commit

Permalink
[Bug](scan)fix some case query timeout of not schedule scanner
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangstar333 committed Dec 11, 2023
1 parent e158753 commit b13a564
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion be/src/pipeline/exec/scan_operator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ bool ScanOperator::can_read() {
return false;
}
} else {
if (_node->_eos || _node->_scanner_ctx->done()) {
if (_node->_eos || _node->_scanner_ctx->done() || _node->_scanner_ctx->no_schedule()) {
// _eos: need eos
// _scanner_ctx->done(): need finish
// _scanner_ctx->no_schedule(): should schedule _scanner_ctx
Expand Down

0 comments on commit b13a564

Please sign in to comment.