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


##########
be/src/runtime/fragment_mgr.cpp:
##########
@@ -483,6 +486,14 @@ void 
FragmentMgr::_exec_actual(std::shared_ptr<PlanFragmentExecutor> fragment_ex
                             
std::chrono::system_clock::now().time_since_epoch())
                             .count();
         std::lock_guard<std::mutex> lock(_lock);
+
+        if (query_ctx->enable_profile()) {

Review Comment:
   add this logic to PlanFragmentExecutor's close method like 
PipelineXFragmentContext



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