seawinde commented on code in PR #31800: URL: https://github.com/apache/doris/pull/31800#discussion_r1513743593
########## fe/fe-core/src/test/java/org/apache/doris/nereids/util/PlanChecker.java: ########## @@ -121,6 +122,7 @@ public PlanChecker parse(String sql) { public PlanChecker analyze() { this.cascadesContext.newAnalyzer().analyze(); this.cascadesContext.toMemo(); + InitMaterializationContextHook.INSTANCE.initMaterializationContext(this.cascadesContext); Review Comment: maybe this should judge if the `enable_materialized_view_rewrite` is true or not, and then set the `enable_materialized_view_rewrite` in the sub test respectively -- 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