Juntao Hu created FLINK-28908: --------------------------------- Summary: Coder for LIST type is incorrectly chosen is PyFlink Key: FLINK-28908 URL: https://issues.apache.org/jira/browse/FLINK-28908 Project: Flink Issue Type: Bug Components: API / Python Affects Versions: 1.15.1, 1.14.5 Reporter: Juntao Hu Fix For: 1.16.0, 1.15.2, 1.14.6
Code to reproduce this bug, the result is `[None, None, None]`: {code:python} jvm = get_gateway().jvm env = StreamExecutionEnvironment.get_execution_environment() j_item = jvm.java.util.ArrayList() j_item.add(1) j_item.add(2) j_item.add(3) j_list = jvm.java.util.ArrayList() j_list.add(j_item) type_info = Types.LIST(Types.INT()) ds = DataStream(env._j_stream_execution_environment.fromCollection(j_list, type_info.get_java_type_info())) ds.map(lambda e: print(e)) env.execute() {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)