You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2020/03/16 08:15:00 UTC

[jira] [Updated] (FLINK-16606) Throw exceptions for the data types which are not currently supported

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

ASF GitHub Bot updated FLINK-16606:
-----------------------------------
    Labels: pull-request-available  (was: )

> Throw exceptions for the data types which are not currently supported
> ---------------------------------------------------------------------
>
>                 Key: FLINK-16606
>                 URL: https://issues.apache.org/jira/browse/FLINK-16606
>             Project: Flink
>          Issue Type: Improvement
>          Components: API / Python
>    Affects Versions: 1.10.0
>            Reporter: Dian Fu
>            Assignee: Dian Fu
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.10.1, 1.11.0
>
>
> Currently, there are still cases where a data type isn't supported as the Python data type will be firstly converted to TypeInformation which will lose a few information, e.g, 
>  - the precision for TimeType could only be 0
>  - the length for VarBinaryType/VarCharType could only be 0x7fffffff
>  - the precision/scale for DecimalType could only be 38/18
>  - the precision for TimestampType/LocalZonedTimestampType could only be 3
>  - the resolution for DayTimeIntervalType could only be `SECOND` and the fractionalPrecision could only be 3
>  - the resolution for YearMonthIntervalType could only be `MONTH` and the `yearPrecision` could only be 2
>  - the CharType/BinaryType/ZonedTimestampType is not supported
> We should throw exceptions for the cases not supported.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)