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


##########
fe/fe-core/src/main/java/org/apache/doris/nereids/rules/exploration/mv/AbstractMaterializedViewRule.java:
##########
@@ -286,11 +282,18 @@ protected List<Plan> doRewrite(StructInfo 
queryStructInfo, CascadesContext casca
             // Rewrite query by view
             rewrittenPlan = rewriteQueryByView(matchMode, queryStructInfo, 
viewStructInfo, viewToQuerySlotMapping,
                     rewrittenPlan, materializationContext, cascadesContext);
+            // This is needed whenever by pre tbo mv rewrite or final cbo 
rewrite, because the following optimize

Review Comment:
   should be rbo



-- 
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