morrySnow commented on code in PR #38387:
URL: https://github.com/apache/doris/pull/38387#discussion_r1697833741
##########
fe/fe-core/src/main/java/org/apache/doris/nereids/rules/exploration/mv/AbstractMaterializedViewAggregateRule.java:
##########
@@ -324,18 +327,20 @@ private boolean isGroupByEquals(Pair<Plan,
LogicalAggregate<Plan>> queryTopPlanA
SlotMapping viewToQuerySlotMapping,
StructInfo queryStructInfo,
StructInfo viewStructInfo,
+ Plan tempRewrittenPlan,
MaterializationContext materializationContext,
CascadesContext cascadesContext) {
+
+ if (materializationContext instanceof SyncMaterializationContext) {
+ return false;
+ }
Review Comment:
add comment for this if statement
--
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]