wuchong commented on a change in pull request #8762:
[FLINK-12844][table-planner-blink] Use default conversion class
LocalDate/LocalTime/LocalDateTime for DateType/TimeType/TimestampType in blink
URL: https://github.com/apache/flink/pull/8762#discussion_r300914961
##########
File path:
flink-table/flink-table-runtime-blink/src/main/java/org/apache/flink/table/dataformat/DataFormatConverters.java
##########
@@ -128,8 +135,21 @@
* lost its specific Java format. Only DataType
retains all its
* Java format information.
*/
- @SuppressWarnings("unchecked")
+ @Deprecated
public static DataFormatConverter getConverterForDataType(DataType
originDataType) {
+ return getConverterForDataType(originDataType, new
Context(DEFAULT_TIME_ZONE));
Review comment:
Shouldn't we use `TableConfig.getTimeZone` as the conversion time zone
instead of local time zone in flink framework?
----------------------------------------------------------------
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