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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Shang Yuanchun (Jira)
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)