twalthr commented on a change in pull request #11081: [FLINK-16033][table-api] 
Introduced Java Table API Expression DSL
URL: https://github.com/apache/flink/pull/11081#discussion_r380080705
 
 

 ##########
 File path: 
flink-table/flink-table-api-java/src/main/java/org/apache/flink/table/expressions/LookupCallExpression.java
 ##########
 @@ -43,7 +42,10 @@
 
        public LookupCallExpression(String unresolvedFunction, List<Expression> 
args) {
                this.unresolvedName = 
Preconditions.checkNotNull(unresolvedFunction);
-               this.args = Collections.unmodifiableList(new 
ArrayList<>(Preconditions.checkNotNull(args)));
+               this.args = Preconditions.checkNotNull(args)
 
 Review comment:
   Can't we do this earlier? In `ApiExpressionUtils`?

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to