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


##########
be/src/vec/exec/scan/scanner_context.cpp:
##########
@@ -428,6 +428,7 @@ bool ScannerContext::set_status_on_error(const Status& 
status, bool need_lock) {
         _status_error = true;
         _blocks_queue_added_cv.notify_one();
         _should_stop = true;
+        _state->get_query_ctx()->set_exec_status(_process_status);

Review Comment:
   why need set this?



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