SGA-taichi-kato commented on issue #1255: URL: https://github.com/apache/iceberg-python/issues/1255#issuecomment-2442998961
Hi @kevinjqliu > After appending to the table, is the record None when you read it back? table.scan().to_pandas() Here is the result. ```python ~ pyarrow_table: pa.Table = pa.Table.from_pylist(records, schema=schema) print(pyarrow_table.to_pandas()) table.append(pyarrow_table) print("============================") print(table.scan().to_pandas()) ``` ``` string_field_1 int_field_1 float_field_1 struct_field_1 list_field_1 list_field_2 list_field_3 map_field_1 map_field_2 map_field_3 0 field_1 123.0 1.23 {'string_nested_1': 'nest_1', 'int_item_2': 12... [a, b, c] [1, 2, 3] [0.1, 0.2, 0.3] [(a, b), (b, c)] [(a, 1), (b, 2)] [(a, 0.10000000149011612), (b, 0.2000000029802... 1 field_1_b NaN NaN None None None None None None None ============================ string_field_1 int_field_1 float_field_1 struct_field_1 list_field_1 list_field_2 list_field_3 map_field_1 map_field_2 map_field_3 0 field_1 123.0 1.23 {'string_nested_1': 'nest_1', 'int_item_2': 12... [a, b, c] [1, 2, 3] [0.1, 0.2, 0.3] [(a, b), (b, c)] [(a, 1), (b, 2)] [(a, 0.10000000149011612), (b, 0.2000000029802... 1 field_1_b NaN NaN {'string_nested_1': '', 'int_item_2': 0, 'floa... None None None None None None ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org