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:
[email protected]
With regards,
Apache Git Services