snuyanzin commented on code in PR #28152:
URL: https://github.com/apache/flink/pull/28152#discussion_r3235053810
##########
flink-table/flink-table-planner/src/main/java/org/apache/calcite/rel/type/RelDataTypeFactoryImpl.java:
##########
@@ -563,8 +563,7 @@ private RelDataType decimalOf2(RelDataType type) {
return createSqlType(SqlTypeName.DECIMAL, 38, 0);
case REAL:
return createSqlType(SqlTypeName.DECIMAL, 14, 7);
- case FLOAT:
- return createSqlType(SqlTypeName.DECIMAL, 14, 7);
+ case FLOAT: // sic
Review Comment:
Synced with Calcite
##########
flink-table/flink-table-planner/src/main/java/org/apache/calcite/rex/RexUtil.java:
##########
@@ -72,13 +72,14 @@
import static com.google.common.collect.ImmutableList.toImmutableList;
import static java.util.Objects.requireNonNull;
+import static org.apache.calcite.rel.type.RelDataType.PRECISION_NOT_SPECIFIED;
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]