Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-29477

ClassCastException when collect primitive array to Python

    XMLWordPrintableJSON

Details

    Description

      How to reproduce this bug:

      ds = env.from_collection([1, 2], type_info=Types.PRIMITIVE_ARRAY(Types.INT()))
      ds.execute_and_collect()

      got:

      java.lang.ClassCastException: class [I cannot be cast to class [Ljava.lang.Object 

      Attachments

        Activity

          People

            Juntao Hu Juntao Hu
            Juntao Hu Juntao Hu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: