Cherry-picked from #46474 Co-authored-by: morrySnow <zhangwenxin@selectdb.com>
This commit is contained in:
committed by
GitHub
parent
eda8a26ec8
commit
f6ea71ab61
@ -90,7 +90,7 @@ public class MTMVRelationManager implements MTMVHookService {
|
||||
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 class MTMVRelationManager implements MTMVHookService {
|
||||
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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user