zddr commented on code in PR #40106:
URL: https://github.com/apache/doris/pull/40106#discussion_r1794734920
##########
fe/fe-core/src/main/java/org/apache/doris/mtmv/MTMVPlanUtil.java:
##########
@@ -55,6 +57,9 @@ public static ConnectContext createMTMVContext(MTMV mtmv) {
ctx.getState().reset();
ctx.setThreadLocalInfo();
ctx.getSessionVariable().allowModifyMaterializedViewData = true;
+ // Disable add default limit rule to avoid refresh data wrong
+ ctx.getSessionVariable().setDisableNereidsRules(
Review Comment:
If the default values are changed in the future, there may be issues here.
Can we use an additional method
--
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]