You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by kx...@apache.org on 2023/08/03 05:26:01 UTC
[doris] 03/03: [bugfix](profile) not output some variables correctly (#22537)
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 <67...@qq.com>
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: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org