I am getting a dtype
exception
pyo3_runtime.PanicException: Arrow datatype Map(Field { name: "key_value", dtype: LargeList(Field { name: "key_value", dtype: Struct([Field { name: "key", dtype: Utf8View, is_nullable: false, metadata: None }, Field { name: "value", dtype: Int64, is_nullable: true, metadata: None }]), is_nullable: true, metadata: None }), is_nullable: true, metadata: None }, false) not supported by Polars. You probably need to activate that data-type feature.
I can read it if I set use_pyarrow=True
but I need to use lazy
mode.
I have a lot of files so my workaround was to read each file in eager mode with pyarrow
engine and save it again.
I tried to use pyarrow
dataset and scan_pyarrow_dataset
but had no success.
Any help will be appreciated