From 05f2f19b7946d7c5cee7f7f4bcfd18b67b95a1a8 Mon Sep 17 00:00:00 2001 From: seawinde Date: Sun, 8 Dec 2024 18:15:01 +0800 Subject: [PATCH] fix code usage --- .../nereids/trees/plans/commands/info/CreateMTMVInfo.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/commands/info/CreateMTMVInfo.java b/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/commands/info/CreateMTMVInfo.java index 7718884e487539..3e8e23d4044e69 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/commands/info/CreateMTMVInfo.java +++ b/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/commands/info/CreateMTMVInfo.java @@ -327,7 +327,8 @@ private void analyzeKeys() { // Should use analyzed plan for collect views and tables private void getRelation(NereidsPlanner planner) { - this.relation = MTMVPlanUtil.generateMTMVRelation(planner.getAnalyzedPlan(), planner.getConnectContext()); + this.relation = MTMVPlanUtil.generateMTMVRelation(planner.getAnalyzedPlan(), + planner.getCascadesContext().getConnectContext()); } private PartitionDesc generatePartitionDesc(ConnectContext ctx) {