morrySnow commented on code in PR #14851:
URL: https://github.com/apache/doris/pull/14851#discussion_r1044168881


##########
fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/logical/LogicalProject.java:
##########
@@ -41,20 +42,27 @@
 public class LogicalProject<CHILD_TYPE extends Plan> extends 
LogicalUnary<CHILD_TYPE> implements Project {
 
     private final ImmutableList<NamedExpression> projects;
+    private final ImmutableList<NamedExpression> excepts;
+
+    public LogicalProject(List<NamedExpression> projects, 
List<NamedExpression> excepts, CHILD_TYPE child) {
+        this(projects, excepts, Optional.empty(), Optional.empty(), child);
+    }
 
     public LogicalProject(List<NamedExpression> projects, CHILD_TYPE child) {
-        this(projects, Optional.empty(), Optional.empty(), child);
+        this(projects, Collections.emptyList(), child);

Review Comment:
   ```suggestion
           this(projects, ImmutableList.of(), child);
   ```



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