diff --git a/fe/fe-core/src/main/java/org/apache/doris/mtmv/MTMVRelationManager.java b/fe/fe-core/src/main/java/org/apache/doris/mtmv/MTMVRelationManager.java index f8f92e25d38d65..f3939cb47eafd8 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/mtmv/MTMVRelationManager.java +++ b/fe/fe-core/src/main/java/org/apache/doris/mtmv/MTMVRelationManager.java @@ -90,7 +90,7 @@ public Set getAvailableMTMVs(List tableInfos, ConnectContex if (isMVPartitionValid(mtmv, ctx, forceConsistent)) { res.add(mtmv); } - } catch (AnalysisException e) { + } catch (Exception e) { // not throw exception to client, just ignore it LOG.warn("getTable failed: {}", tableInfo.toString(), e); } @@ -107,7 +107,7 @@ public Set getAllMTMVs(List tableInfos) { for (BaseTableInfo tableInfo : mvInfos) { try { mtmvs.add((MTMV) MTMVUtil.getTable(tableInfo)); - } catch (AnalysisException e) { + } catch (Exception e) { // not throw exception to client, just ignore it LOG.warn("getTable failed: {}", tableInfo.toString(), e); }