You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2020/01/08 15:03:07 UTC

[GitHub] [flink] dawidwys commented on a change in pull request #10781: [FLINK-15281][table-planner-blink] Map Flink's TypeInference to Calcite's interfaces

dawidwys commented on a change in pull request #10781: [FLINK-15281][table-planner-blink] Map Flink's TypeInference to Calcite's interfaces
URL: https://github.com/apache/flink/pull/10781#discussion_r364145797
 
 

 ##########
 File path: flink-table/flink-table-common/src/main/java/org/apache/flink/table/types/inference/ConstantArgumentCount.java
 ##########
 @@ -60,16 +60,20 @@ public static ArgumentCount from(int minCount) {
 	}
 
 	public static ArgumentCount any() {
-		return new ConstantArgumentCount(0, OPEN_INTERVAL);
+		return new ConstantArgumentCount(OPEN_INTERVAL, OPEN_INTERVAL);
 
 Review comment:
   Is this necessary? Does it make sense to have a special handling for a non present min value? 

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services