seawinde commented on code in PR #40106: URL: https://github.com/apache/doris/pull/40106#discussion_r1794745832
########## 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: the default value of `disableNereidsRules` session should always be empty '' -- 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: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org