Gabriel39 commented on code in PR #49638:
URL: https://github.com/apache/doris/pull/49638#discussion_r2022193500


##########
be/src/pipeline/pipeline_task.cpp:
##########
@@ -447,11 +443,12 @@ Status PipelineTask::execute(bool* done) {
 
         // `_sink->is_finished(_state)` means sink operator should be finished
         if (_sink->is_finished(_state)) {
-            set_wake_up_and_dep_ready();
+            set_wake_up_early();
+            return Status::OK();
         }
 
         // `_dry_run` means sink operator need no more data
-        _eos = wake_up_early() || _dry_run || _eos;
+        _eos = _wake_up_early || _dry_run || _eos;

Review Comment:
   因为wakeup early以后不需要执行下面的代码了



-- 
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