polars icon indicating copy to clipboard operation
polars copied to clipboard

fix: Recurse on map field during type conversion

Open cgbur opened this issue 1 year ago • 2 comments

fixes #14639

When encountering a map column (which in Arrow is a List<Struct<K, V>>), the code failed to recursively convert subtypes into valid Polars types. This caused an error when a map column contained a string (UTF-8) type, as it would not convert the UTF-8 column into a UTF-8 view type, leading to type assertion failures later.

cgbur avatar Mar 14 '24 19:03 cgbur