Skip to content

Commit

Permalink
fix: Recurse on map field during type conversion (pola-rs#15075)
Browse files Browse the repository at this point in the history
Co-authored-by: Chris Burgess <[email protected]>
  • Loading branch information
cgbur and Chris Burgess authored Aug 27, 2024
1 parent 0f1edda commit 36ce19a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/polars-parquet/src/arrow/read/schema/metadata.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ fn convert_data_type(data_type: ArrowDataType) -> ArrowDataType {
// Polars doesn't support Map.
// A map is physically a `List<Struct<K, V>>`
// So we read as list.
LargeList(field)
LargeList(Box::new(convert_field(*field)))
},
dt => dt,
}
Expand Down

0 comments on commit 36ce19a

Please sign in to comment.