This is an automated email from the ASF dual-hosted git repository. yiguolei pushed a commit to branch branch-2.1 in repository https://gitbox.apache.org/repos/asf/doris.git
commit 501ece3123415941fe30eefec068e883e3df9c30 Author: Jibing-Li <[email protected]> AuthorDate: Mon Feb 5 21:10:25 2024 +0800 Collect index row count for MTMV. (#30855) --- fe/fe-core/src/main/java/org/apache/doris/catalog/TabletStatMgr.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fe/fe-core/src/main/java/org/apache/doris/catalog/TabletStatMgr.java b/fe/fe-core/src/main/java/org/apache/doris/catalog/TabletStatMgr.java index 2f566268d7d..bc66b97c5e0 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/catalog/TabletStatMgr.java +++ b/fe/fe-core/src/main/java/org/apache/doris/catalog/TabletStatMgr.java @@ -18,7 +18,6 @@ package org.apache.doris.catalog; import org.apache.doris.catalog.MaterializedIndex.IndexExtState; -import org.apache.doris.catalog.TableIf.TableType; import org.apache.doris.common.ClientPool; import org.apache.doris.common.Config; import org.apache.doris.common.util.MasterDaemon; @@ -96,7 +95,8 @@ public class TabletStatMgr extends MasterDaemon { } List<Table> tableList = db.getTables(); for (Table table : tableList) { - if (table.getType() != TableType.OLAP) { + // Will process OlapTable and MTMV + if (!table.isManagedTable()) { continue; } OlapTable olapTable = (OlapTable) table; --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
