Collect index row count for MTMV. (#30855)

This commit is contained in:
Jibing-Li
2024-02-05 21:10:25 +08:00
committed by yiguolei
parent 2c99c53812
commit 501ece3123

View File

@ -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;