twalthr 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_r364680851
##########
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:
I will skip this change for now. I remember there was some issue while
mapping to Calcite but I'm sure we will notice it when we have more tests.
----------------------------------------------------------------
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