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

Xingbo Huang reassigned FLINK-29477:
------------------------------------

    Assignee: Juntao Hu

> 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.16.0, 1.15.2
>            Reporter: Juntao Hu
>            Assignee: Juntao Hu
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.16.0, 1.15.3
>
>
> 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)

Reply via email to