snuyanzin commented on code in PR #26076:
URL: https://github.com/apache/flink/pull/26076#discussion_r1928588289


##########
flink-table/flink-table-common/src/main/java/org/apache/flink/table/types/inference/SystemTypeInference.java:
##########
@@ -135,6 +142,25 @@ private static void checkReservedArgs(List<StaticArgument> 
staticArgs) {
         }
     }
 
+    private static void checkMultipleTableArgs(List<StaticArgument> 
staticArgs) {
+        if (staticArgs.stream().filter(arg -> 
arg.is(StaticArgumentTrait.TABLE)).count() > 1) {

Review Comment:
   ```suggestion
           if (staticArgs.stream().filter(arg -> 
arg.is(StaticArgumentTrait.TABLE)).limit(2).count() > 1) {
   ```
   nit: would it make sense to add limit like?



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

Reply via email to