xiaojunjie commented on code in PR #16980: URL: https://github.com/apache/doris/pull/16980#discussion_r1127272635
########## fe/fe-core/src/main/java/org/apache/doris/nereids/jobs/batch/NereidsRewriter.java: ########## @@ -198,6 +198,7 @@ public class NereidsRewriter extends BatchRewriteJob { // this rule batch must keep at the end of rewrite to do some plan check topic("Final rewrite and check", bottomUp( new AdjustNullable(), + new ExpressionOptimization(), Review Comment: This has nothing to do with adjust. When view's filter merged in the rule MergeFilter, It is necessary to apply ExpressionOptimization again. Add it to last topic or after MergeFilter ? -- 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