snuyanzin commented on code in PR #27616:
URL: https://github.com/apache/flink/pull/27616#discussion_r2839586630
##########
flink-table/flink-table-planner/src/main/java/org/apache/flink/table/planner/expressions/converter/converters/CastConverter.java:
##########
@@ -41,6 +41,8 @@ public RexNode convert(CallExpression call,
CallExpressionConvertRule.ConvertCon
.createFieldTypeFromLogicalType(
targetType.getOutputDataType().getLogicalType());
- return
context.getRelBuilder().getRexBuilder().makeAbstractCast(targetRelDataType,
child);
+ return context.getRelBuilder()
+ .getRexBuilder()
+ .makeAbstractCast(targetRelDataType, child, false);
Review Comment:
now this method with 2 args is deprecated
`false` means do not use `SAFE_CAST` (similar to Flink's `TRY_CAST`)
--
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]