HappenLee commented on code in PR #15040:
URL: https://github.com/apache/doris/pull/15040#discussion_r1050768557


##########
be/src/pipeline/pipeline_task.cpp:
##########
@@ -86,14 +76,21 @@ bool PipelineTask::has_dependency() {
 }
 
 Status PipelineTask::open() {
-    if (_sink) {
-        RETURN_IF_ERROR(_sink->open(_state));
-    }
+    auto st = Status::OK();
     for (auto& o : _operators) {
-        RETURN_IF_ERROR(o->open(_state));
+        if (st.is_blocked_by_rf()) {
+            o->open(_state);

Review Comment:
   should `RETURN_IF_ERROR`, if some opeartor open failed, should as failed as 
quickly



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to