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


##########
flink-table/flink-table-planner/src/main/java/org/apache/calcite/sql/type/SqlTypeAssignmentRule.java:
##########
@@ -101,6 +101,7 @@ private SqlTypeAssignmentRule(Map<SqlTypeName, 
ImmutableSet<SqlTypeName>> map) {
         rule.add(SqlTypeName.BIGINT);
         rule.add(SqlTypeName.DECIMAL);
         rule.add(SqlTypeName.FLOAT);
+        rule.add(SqlTypeName.DOUBLE);

Review Comment:
   Synced with Calcite



##########
flink-table/flink-table-planner/src/main/java/org/apache/calcite/sql/type/SqlTypeFactoryImpl.java:
##########
@@ -122,6 +122,11 @@ public RelDataType createMapType(RelDataType keyType, 
RelDataType valueType) {
         return canonize(newType);
     }
 
+    @Override
+    public RelDataType createFunctionSqlType(RelDataType parameterType, 
RelDataType returnType) {

Review Comment:
   Synced with Calcite



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