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-unsubscr...@iceberg.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org