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 6, 2024
1 parent bc8258a commit f712bd4
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 f712bd4

Please sign in to comment.