Skip to content

Commit

Permalink
fix code usage
Browse files Browse the repository at this point in the history
  • Loading branch information
seawinde committed Dec 8, 2024
1 parent d40c427 commit 05f2f19
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 05f2f19

Please sign in to comment.