You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of Polars.
Issue description
The default engine crash when reading an empty categorical column, whereas pyarrow is working as expected
Reproducible example
importpolarsasplpl.DataFrame({'a': pl.Series([None], dtype=pl.Categorical)}).write_parquet('test.pq')
pl.read_parquet('test.pq', use_pyarrow=True) # working with pyarrowpl.read_parquet('test.pq') # not working without pyarrowpl.scan_parquet('test.pq').collect() # not working without pyarrow
Polars version checks
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of Polars.
Issue description
The default engine crash when reading an empty categorical column, whereas pyarrow is working as expected
Reproducible example
Expected behavior
Installed versions
The text was updated successfully, but these errors were encountered: