Enums and Categoricals with lexical ordering are not preserved by write_parquet when use_pyarrow=True #22586
Labels
bug
Something isn't working
needs triage
Awaiting prioritization by a maintainer
python
Related to Python Polars
Checks
Reproducible example
Log output
Issue description
When writing a parquet file using PyArrow (
use_pyarrow=True
) the arrow metadata that Polars uses to preserve type information for Enums and lexically ordered Categoricals is omitted, so the type information is lost.Related: #2732, #13260
Expected behavior
Installed versions
The text was updated successfully, but these errors were encountered: