You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Jingsong Lee (JIRA)" <ji...@apache.org> on 2019/06/14 06:09:00 UTC
[jira] [Created] (FLINK-12844) Use default conversion class
LocalDate/LocalTime/LocalDateTime for DateType/TimeType/TimestampType in
blink
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)