Skip to content

Commit

Permalink
[chore](binlog) Add table type to getMeta method
Browse files Browse the repository at this point in the history
  • Loading branch information
w41ter committed Dec 25, 2024
1 parent 8e57386 commit 7b5ac08
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions fe/fe-core/src/main/java/org/apache/doris/catalog/Env.java
Original file line number Diff line number Diff line change
Expand Up @@ -6481,6 +6481,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();

Expand Down
1 change: 1 addition & 0 deletions gensrc/thrift/FrontendService.thrift
Original file line number Diff line number Diff line change
Expand Up @@ -1613,6 +1613,7 @@ struct TGetMetaTableMeta {
2: optional string name
3: optional bool in_trash
4: optional list<TGetMetaPartitionMeta> partitions
5: optional string type
}

struct TGetMetaDBMeta {
Expand Down

0 comments on commit 7b5ac08

Please sign in to comment.