Kikyou1997 commented on code in PR #19934: URL: https://github.com/apache/doris/pull/19934#discussion_r1206204598
########## fe/fe-core/src/main/java/org/apache/doris/nereids/CascadesContext.java: ########## @@ -98,6 +101,18 @@ public class CascadesContext implements ScheduleContext, PlanSource { private Optional<Scope> outerScope = Optional.empty(); + private Map<Integer, Set<LogicalCTEConsumer>> cteIdToConsumer = new HashMap<>(); + + private Map<Integer, Callable<LogicalPlan>> cteIdToCTEClosure = new HashMap<>(); + + private Map<Integer, Set<Expression>> cteIdToFilter = new HashMap<>(); + + private Map<Integer, Set<Expression>> cteIdToProject = new HashMap<>(); Review Comment: I think this name is more abstract... -- 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