diff --git a/fe/fe-core/src/main/java/org/apache/doris/catalog/Env.java b/fe/fe-core/src/main/java/org/apache/doris/catalog/Env.java index 0bbe662ec6e8e6..3e3de2e6676959 100755 --- a/fe/fe-core/src/main/java/org/apache/doris/catalog/Env.java +++ b/fe/fe-core/src/main/java/org/apache/doris/catalog/Env.java @@ -6159,6 +6159,7 @@ private static void getTableMeta(OlapTable olapTable, TGetMetaDBMeta dbMeta) { try { tableMeta.setId(olapTable.getId()); tableMeta.setName(olapTable.getName()); + tableMeta.setType(olapTable.getType().name()); PartitionInfo tblPartitionInfo = olapTable.getPartitionInfo(); diff --git a/gensrc/thrift/FrontendService.thrift b/gensrc/thrift/FrontendService.thrift index 4853d3a474ffe7..2b753a45ac1e62 100644 --- a/gensrc/thrift/FrontendService.thrift +++ b/gensrc/thrift/FrontendService.thrift @@ -1557,6 +1557,7 @@ struct TGetMetaTableMeta { 2: optional string name 3: optional bool in_trash 4: optional list partitions + 5: optional string type } struct TGetMetaDBMeta {