wuwenchi commented on code in PR #49688:
URL: https://github.com/apache/doris/pull/49688#discussion_r2038801635


##########
fe/fe-core/src/main/java/org/apache/doris/common/profile/SummaryProfile.java:
##########
@@ -399,6 +415,15 @@ public void update(Map<String, String> summaryInfo) {
         updateExecutionSummaryProfile();
     }
 
+    public void queryFinished() {
+        executionSummaryProfile.addInfoString(
+                SPLITS_ASSIGNMENT_WEIGHT,
+                new 
GsonBuilder().disableHtmlEscaping().create().toJson(splitWeightProfileInfoMap));
+        executionSummaryProfile.addInfoString(
+                SPLITS_ASSIGNMENT_SPLIT_INFO,
+                new 
GsonBuilder().disableHtmlEscaping().create().toJson(splitProfileInfoMap));

Review Comment:
   Here, we don't yet know which split has the longest execution time on the BE 
(Backend Engine) in the end, so we can't calculate the top ones here.



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