This is an automated email from the ASF dual-hosted git repository.

kxiao pushed a commit to branch branch-2.0
in repository https://gitbox.apache.org/repos/asf/doris.git

commit bd443bbac757c6f16ccac695defbfa001d593fc2
Author: yiguolei <[email protected]>
AuthorDate: Thu Aug 3 13:17:02 2023 +0800

    [bugfix](profile) not output some variables correctly (#22537)
---
 .../src/main/java/org/apache/doris/common/profile/SummaryProfile.java | 4 ++++
 1 file changed, 4 insertions(+)

diff --git 
a/fe/fe-core/src/main/java/org/apache/doris/common/profile/SummaryProfile.java 
b/fe/fe-core/src/main/java/org/apache/doris/common/profile/SummaryProfile.java
index dec67d201f..ef656feaa8 100644
--- 
a/fe/fe-core/src/main/java/org/apache/doris/common/profile/SummaryProfile.java
+++ 
b/fe/fe-core/src/main/java/org/apache/doris/common/profile/SummaryProfile.java
@@ -155,6 +155,10 @@ public class SummaryProfile {
         for (String key : infos.keySet()) {
             if (SUMMARY_KEYS.contains(key)) {
                 summaryProfile.addInfoString(key, infos.get(key));
+            } else if (EXECUTION_SUMMARY_KEYS.contains(key)) {
+                // Some static value is build in summary profile, should add
+                // them to execution summary profile during update.
+                executionSummaryProfile.addInfoString(key, infos.get(key));
             }
         }
     }


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to