morrySnow commented on code in PR #14733: URL: https://github.com/apache/doris/pull/14733#discussion_r1040565192
########## fe/fe-core/src/main/java/org/apache/doris/nereids/analyzer/NereidsAnalyzer.java: ########## @@ -54,4 +54,12 @@ public void analyze() { // check whether analyze result is meaningful new CheckAnalysisJob(cascadesContext).execute(); } + + public void analyze(boolean cte) { Review Comment: parameter is not use ########## fe/fe-core/src/main/java/org/apache/doris/nereids/jobs/batch/AnalyzeRulesJob.java: ########## @@ -68,4 +66,24 @@ public AnalyzeRulesJob(CascadesContext cascadesContext, Optional<Scope> scope) { )) )); } + + @Override + public void execute() { + boolean locked = false; + try { + Job j = bottomUpBatch(ImmutableList.of( + new RegisterCTE() + )); Review Comment: why move rigisterCTE job? -- 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