yiguolei commented on code in PR #44690:
URL: https://github.com/apache/doris/pull/44690#discussion_r1926445356


##########
be/src/vec/exec/scan/scanner_context.cpp:
##########
@@ -305,11 +296,16 @@ Status ScannerContext::get_block_from_queue(RuntimeState* 
state, vectorized::Blo
         _set_scanner_done();
         return _process_status;
     }
-    if (!_tasks_queue.empty() && !done()) {
-        _last_fetch_time = UnixMillis();
-        auto scan_task = _tasks_queue.front();
-        DCHECK(scan_task);
 
+    std::shared_ptr<ScanTask> scan_task = nullptr;
+
+    if (!_tasks_queue.empty()) {

Review Comment:
   这里不需要  done() ?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to