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/11/07 04:34:00 UTC

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

Jark Wu created FLINK-14645:
-------------------------------

             Summary: 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
             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)