This is an automated email from the ASF dual-hosted git repository. morrysnow pushed a commit to branch branch-2.1 in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-2.1 by this push: new f6ea71ab618 branch-2.1: [chore](MTMV) catch all exception when get mtmvs to avoid plan failed #46474 (#46536) f6ea71ab618 is described below commit f6ea71ab618bda6deb85ec8e773e577d0496f4a7 Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> AuthorDate: Wed Jan 8 13:56:18 2025 +0800 branch-2.1: [chore](MTMV) catch all exception when get mtmvs to avoid plan failed #46474 (#46536) Cherry-picked from #46474 Co-authored-by: morrySnow <zhangwen...@selectdb.com> --- .../src/main/java/org/apache/doris/mtmv/MTMVRelationManager.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 f8f92e25d38..f3939cb47ea 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 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); } --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org