yiguolei commented on code in PR #12389: URL: https://github.com/apache/doris/pull/12389#discussion_r963618257
########## be/src/runtime/fragment_mgr.cpp: ########## @@ -248,31 +246,17 @@ Status FragmentExecState::execute() { return Status::OK(); } -Status FragmentExecState::cancel_before_execute() { - // set status as 'abort', cuz cancel() won't effect the status arg of DataSink::close(). -#ifndef BE_TEST - SCOPED_ATTACH_TASK(executor()->runtime_state()); -#endif - _executor.set_abort(); - _executor.cancel(); - if (_pipe != nullptr) { - _pipe->cancel("Execution aborted before start"); Review Comment: Status FragmentExecState::cancel(const PPlanFragmentCancelReason& reason, const std::string& msg) this method will cancel pipe. -- 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