Juntao Hu created FLINK-29477:
---------------------------------
Summary: ClassCastException when collect primitive array to Python
Key: FLINK-29477
URL: https://issues.apache.org/jira/browse/FLINK-29477
Project: Flink
Issue Type: Bug
Components: API / Python
Affects Versions: 1.15.2, 1.16.0
Reporter: Juntao Hu
Fix For: 1.17.0, 1.15.3, 1.16.1
How to reproduce this bug:
{code:java}
ds = env.from_collection([1, 2], type_info=Types.PRIMITIVE_ARRAY(Types.INT()))
ds.execute_and_collect(){code}
got:
{code:java}
java.lang.ClassCastException: class [I cannot be cast to class
[Ljava.lang.Object {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)