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();