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

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=16987439#comment-16987439 ] 

Kurt Young commented on FLINK-14645:
------------------------------------

Please check whether this issues coversĀ FLINK-14987

> 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: 10m
>  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)