Jingsong Lee created FLINK-12844:
------------------------------------
Summary: Use default conversion class LocalDate/LocalTime/LocalDateTime for DateType/TimeType/TimestampType in blink
Key: FLINK-12844
URL:
https://issues.apache.org/jira/browse/FLINK-12844 Project: Flink
Issue Type: Improvement
Components: Table SQL / Planner
Reporter: Jingsong Lee
Assignee: Jingsong Lee
Now we still use java.sql.Timestamp to be default conversion class for TimestampType.
We should use design of new Type System to use java.time.Local***.
NOTE, This may affect user behaviour:
eg: UDF with eval(Object o), now will pass a java.time.Local*** instead of java.sql.**.
Compatibility method: use DataType.bridgedTo(java.sql.**.class);
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)