You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "shashk (via GitHub)" <gi...@apache.org> on 2023/08/30 21:55:28 UTC
[GitHub] [iceberg] shashk opened a new issue, #8437: Clarity on serialization format of schema.name-mapping.default in Iceberg metadata
shashk opened a new issue, #8437:
URL: https://github.com/apache/iceberg/issues/8437
### Apache Iceberg version
1.3.1 (latest release)
### Query engine
Spark
### Please describe the bug 🐞
The Iceberg Spec [1] describes the representation of Name Mapping in table metadata as the following:
"Name mapping is serialized as a list of field mapping JSON Objects" [2] and "JSON name mapping containing a list of field mapping objects" [3].
The Spec also states that properties in table metadata is a "string to string map" [4].
It seems from [NameMappingParser.java](https://github.com/apache/iceberg/blob/master/core/src/main/java/org/apache/iceberg/mapping/NameMappingParser.java) that the mappings are indeed represented as a json object serialized to string. However, the description in [2] and [3] may present some confusion to developers.
Could someone help me get clarity on the format of the name mapping in table metadata? And could we update the spec documentation to be more unambiguous on this?
[1] https://iceberg.apache.org/spec
[2] https://iceberg.apache.org/spec/#name-mapping-serialization
[3] https://iceberg.apache.org/spec/#column-projection
[4] https://iceberg.apache.org/spec/#table-metadata-fields
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
Re: [I] Clarity on serialization format of schema.name-mapping.default in Iceberg metadata [iceberg]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #8437:
URL: https://github.com/apache/iceberg/issues/8437#issuecomment-2351849908
This issue has been automatically marked as stale because it has been open for 180 days with no activity. It will be closed in next 14 days if no further activity occurs. To permanently prevent this issue from being considered stale, add the label 'not-stale', but commenting on the issue is preferred when possible.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org