You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Dian Fu (Jira)" <ji...@apache.org> on 2020/03/16 02:56:00 UTC

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

Dian Fu created FLINK-16606:
-------------------------------

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