wuchong commented on a change in pull request #15280:
URL: https://github.com/apache/flink/pull/15280#discussion_r603983116
##########
File path:
flink-table/flink-table-runtime-blink/src/main/java/org/apache/flink/table/data/util/DataFormatConverters.java
##########
@@ -215,6 +215,8 @@ public static DataFormatConverter
getConverterForDataType(DataType originDataTyp
return new LongTimestampDataConverter(precisionOfLZTS);
} else if (clazz == TimestampData.class) {
return new TimestampDataConverter(precisionOfLZTS);
+ } else if (clazz == Timestamp.class) {
+ return new TimestampConverter(precisionOfLZTS);
Review comment:
This conversion will lost 8 hours if in Shanghai time zone. We may need
a new converter for LTZ -> java.sql.Timestamp.
--
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]