morrySnow commented on code in PR #22808:
URL: https://github.com/apache/doris/pull/22808#discussion_r1290845013
##########
fe/fe-core/src/main/java/org/apache/doris/nereids/CascadesContext.java:
##########
@@ -97,6 +99,7 @@ public class CascadesContext implements ScheduleContext {
private final RuntimeFilterContext runtimeFilterContext;
private Optional<Scope> outerScope = Optional.empty();
private List<TableIf> tables = null;
+ private Set<View> views = Sets.newHashSet();
Review Comment:
move to statement context
##########
fe/fe-core/src/main/java/org/apache/doris/nereids/glue/LogicalPlanAdapter.java:
##########
@@ -79,6 +81,10 @@ public ArrayList<String> getColLabels() {
return colLabels;
}
+ public List<View> getViews() {
Review Comment:
move views to StatementContext, u could get them from StatementContext
directly
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]