Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: correct map field names (#2182)
# Description This changes the field names inside map types to be `key` and `value` instead of `keys` and `values`. This matches the parquet spec for encoding map columns: https://github.com/apache/parquet-format/blob/master/LogicalTypes.md#maps I found this while trying to load a checkpoint from a table where it was failing with spurious errors. Pyarrow is tolerant of this to a degree but other readers like parquet4s (used in e.g delta standalone) took issue with it. --------- Co-authored-by: R. Tyler Croy <[email protected]>
- Loading branch information