diff --git a/fe/fe-core/src/main/java/org/apache/doris/qe/ShowExecutor.java b/fe/fe-core/src/main/java/org/apache/doris/qe/ShowExecutor.java index 9641204ba7..b41135a42b 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/qe/ShowExecutor.java +++ b/fe/fe-core/src/main/java/org/apache/doris/qe/ShowExecutor.java @@ -38,7 +38,6 @@ import org.apache.doris.analysis.ShowDbStmt; import org.apache.doris.analysis.ShowDeleteStmt; import org.apache.doris.analysis.ShowDynamicPartitionStmt; import org.apache.doris.analysis.ShowEnginesStmt; -import org.apache.doris.analysis.ShowResourcesStmt; import org.apache.doris.analysis.ShowExportStmt; import org.apache.doris.analysis.ShowFrontendsStmt; import org.apache.doris.analysis.ShowFunctionsStmt; @@ -52,6 +51,7 @@ import org.apache.doris.analysis.ShowPluginsStmt; import org.apache.doris.analysis.ShowProcStmt; import org.apache.doris.analysis.ShowProcesslistStmt; import org.apache.doris.analysis.ShowRepositoriesStmt; +import org.apache.doris.analysis.ShowResourcesStmt; import org.apache.doris.analysis.ShowRestoreStmt; import org.apache.doris.analysis.ShowRolesStmt; import org.apache.doris.analysis.ShowRollupStmt; @@ -1130,13 +1130,13 @@ public class ShowExecutor { TabletInvertedIndex invertedIndex = Catalog.getCurrentInvertedIndex(); TabletMeta tabletMeta = invertedIndex.getTabletMeta(tabletId); Long dbId = tabletMeta != null ? tabletMeta.getDbId() : TabletInvertedIndex.NOT_EXIST_VALUE; - String dbName = null; + String dbName = FeConstants.null_string; Long tableId = tabletMeta != null ? tabletMeta.getTableId() : TabletInvertedIndex.NOT_EXIST_VALUE; - String tableName = null; + String tableName = FeConstants.null_string; Long partitionId = tabletMeta != null ? tabletMeta.getPartitionId() : TabletInvertedIndex.NOT_EXIST_VALUE; - String partitionName = null; + String partitionName = FeConstants.null_string; Long indexId = tabletMeta != null ? tabletMeta.getIndexId() : TabletInvertedIndex.NOT_EXIST_VALUE; - String indexName = null; + String indexName = FeConstants.null_string; Boolean isSync = true; // check real meta