From 93f04151bccc8fedbc5585eff01a1f9cdcf1e3e0 Mon Sep 17 00:00:00 2001 From: zhiqiang-hhhh Date: Mon, 6 Jan 2025 16:01:28 +0800 Subject: [PATCH] END --- .../java/org/apache/doris/analysis/ShowLoadProfileStmt.java | 3 +++ .../java/org/apache/doris/analysis/ShowQueryProfileStmt.java | 3 +++ 2 files changed, 6 insertions(+) diff --git a/fe/fe-core/src/main/java/org/apache/doris/analysis/ShowLoadProfileStmt.java b/fe/fe-core/src/main/java/org/apache/doris/analysis/ShowLoadProfileStmt.java index b0ba7fdab7b36ba..7e7d2e790f04ab5 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/analysis/ShowLoadProfileStmt.java +++ b/fe/fe-core/src/main/java/org/apache/doris/analysis/ShowLoadProfileStmt.java @@ -31,6 +31,9 @@ public class ShowLoadProfileStmt extends ShowStmt implements NotFallbackInParser static { ShowResultSetMetaData.Builder builder = ShowResultSetMetaData.builder(); for (String key : SummaryProfile.SUMMARY_KEYS) { + if (key.equals(SummaryProfile.DISTRIBUTED_PLAN)) { + continue; + } builder.addColumn(new Column(key, ScalarType.createStringType())); } META_DATA_QUERY_IDS = builder.build(); diff --git a/fe/fe-core/src/main/java/org/apache/doris/analysis/ShowQueryProfileStmt.java b/fe/fe-core/src/main/java/org/apache/doris/analysis/ShowQueryProfileStmt.java index 77d048d831d914c..815fec3c3d8c032 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/analysis/ShowQueryProfileStmt.java +++ b/fe/fe-core/src/main/java/org/apache/doris/analysis/ShowQueryProfileStmt.java @@ -31,6 +31,9 @@ public class ShowQueryProfileStmt extends ShowStmt implements NotFallbackInParse static { ShowResultSetMetaData.Builder builder = ShowResultSetMetaData.builder(); for (String key : SummaryProfile.SUMMARY_KEYS) { + if (key.equals(SummaryProfile.DISTRIBUTED_PLAN)) { + continue; + } builder.addColumn(new Column(key, ScalarType.createStringType())); } META_DATA_QUERY_IDS = builder.build();