You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Jark Wu (Jira)" <ji...@apache.org> on 2019/12/02 03:29:00 UTC

[jira] [Assigned] (FLINK-14645) Data types defined in DDL will lose precision and nullability when converting to properties

     [ https://issues.apache.org/jira/browse/FLINK-14645?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jark Wu reassigned FLINK-14645:
-------------------------------

    Assignee: Jark Wu

> 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
>             Fix For: 1.10.0
>
>
> 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)