[
https://issues.apache.org/jira/browse/FLINK-14645?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jark Wu updated FLINK-14645:
----------------------------
Release Note: The {{TableSchema}} derived from properties now bridges to
the default conversion class, i.e. LocalDateTime/LocalDate/LocalTime, instead
of java.sql.Timestamp/Date/Time. All the connectors consume/produce the
java.sql.Timestamp/Date/Time classes should adapt to the new conversion
classes.
> Data types defined in DDL will lose precision and nullability when converting
> to properties
> -------------------------------------------------------------------------------------------
>
> Key: FLINK-14645
> URL: https://issues.apache.org/jira/browse/FLINK-14645
> Project: Flink
> Issue Type: Sub-task
> Components: Table SQL / API
> Reporter: Jark Wu
> Assignee: Jark Wu
> Priority: Critical
> Labels: pull-request-available
> Fix For: 1.10.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Currently, data types defined in DDL will be converted to {{TypeInformation}}
> and use {{TypeStringUtils}} to serialize/deserialize which will lose the
> precision and nullablitiy information.
> We can use {{LogicalType#asSerializableString}} and {{LogicalTypeParser}} to
> serialize/deserialize data types which keeps all the information. But we need
> to figure out how to keep compability with previous versions.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)