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


##########
be/src/runtime/query_context.cpp:
##########
@@ -171,13 +171,13 @@ void QueryContext::set_execution_dependency_ready() {
 }
 
 void QueryContext::cancel(std::string msg, Status new_status, int fragment_id) 
{
+    set_exec_status(new_status);

Review Comment:
   add comment to explain why need set status before is cancelled



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