seawinde commented on code in PR #37561:
URL: https://github.com/apache/doris/pull/37561#discussion_r1675146649


##########
fe/fe-core/src/main/java/org/apache/doris/nereids/jobs/cascades/OptimizeGroupExpressionJob.java:
##########
@@ -102,10 +101,6 @@ private List<Rule> getJoinRules() {
     }
 
     private List<Rule> getMvRules() {
-        ConnectContext connectContext = 
context.getCascadesContext().getConnectContext();

Review Comment:
   controlled by inner materialied view rule by 
   `        if (cascadesContext.getMaterializationContexts().isEmpty()) {
               return rewrittenPlans;
           }`



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to