Collect index row count for MTMV. (#30855)
This commit is contained in:
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user