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: 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

Reply via email to