Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support creating map arrays with key metadata #7100

Closed
rshkv opened this issue Feb 9, 2025 · 1 comment · Fixed by #7101
Closed

Support creating map arrays with key metadata #7100

rshkv opened this issue Feb 9, 2025 · 1 comment · Fixed by #7101
Labels
arrow Changes to the arrow crate enhancement Any new improvement worthy of a entry in the changelog

Comments

@rshkv
Copy link
Contributor

rshkv commented Feb 9, 2025

In iceberg-rust needs to be able to construct a MapArray with metadata on both key and value fields. The Iceberg spec requires that all fields in a table, including map keys, have a unique field identifier. And iceberg-rust tracks the field identifier as a metadata field.

MapBuilder currently only supported overriding value fields (here). We're hitting this limitation here: apache/iceberg-rust#863 (comment).

This is a request to support overriding the key field as well.

@rshkv rshkv added the enhancement Any new improvement worthy of a entry in the changelog label Feb 9, 2025
@alamb alamb added the arrow Changes to the arrow crate label Feb 12, 2025
@alamb
Copy link
Contributor

alamb commented Feb 12, 2025

label_issue.py automatically added labels {'arrow'} from #7101

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arrow Changes to the arrow crate enhancement Any new improvement worthy of a entry in the changelog
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants