Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.15.0
Description
In `PythonTableUtils.getCollectionInputFormat` there are implementations like follows.
This code can be found at https://github.com/apache/flink/blob/8488368b86a99a064446ca74e775b67ffff0b94a/flink-python/src/main/java/org/apache/flink/table/utils/python/PythonTableUtils.java#L515
```
c -> {
if (c.getClass() != byte[].class || dataType instanceof PickledByteArrayTypeInfo)
```
Here, the generated function did not check `c != null` before doing `c.getClass()`. which might cause that tables created through pyflink cannot parse it when values are `None`.
Attachments
Attachments
Issue Links
- links to