kosiew commented on issue #957: URL: https://github.com/apache/datafusion-python/issues/957#issuecomment-2550244691
hi @kylebarron , I amended [`skip_metadata: bool = False`](https://github.com/kosiew/datafusion-python/blob/8ea404b6f2689b3f104d46109482ad5c551041d7/python/datafusion/context.py#L718) and ran ``` import datafusion as df import pyarrow as pa FILENAME = "/tmp/fixed_array_example.parquet" ctx = df.SessionContext() array = pa.array([[1.0, 2.0], [3.0, 4.0]], type=pa.list_(pa.float32(), 2)) table = pa.Table.from_pydict({"array": array}) df_table = ctx.from_arrow(table) print("original schema:") print(df_table.schema()) df_table.write_parquet(FILENAME) ctx.register_parquet("test_fixed_list", FILENAME) print("register parquet schema:") print(ctx.table("test_fixed_list").schema()) ``` but still the fixed size list type was still retained: ``` original schema: array: fixed_size_list<item: float>[2] child 0, item: float ==> register_parquet with skip_metadata: False register parquet schema: array: list<item: float> child 0, item: float ``` -- 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: github-unsubscr...@datafusion.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org