-
Type:
Improvement
-
Status: Closed
-
Priority:
Major
-
Resolution: Resolved
-
Affects Version/s: 1.10.0
-
Fix Version/s: 1.11.0
-
Component/s: API / Python
-
Labels:
-
Release Note:
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.
- links to