HonahX commented on code in PR #11947:
URL: https://github.com/apache/iceberg/pull/11947#discussion_r1917873174
##########
core/src/main/java/org/apache/iceberg/TableMetadataParser.java:
##########
@@ -372,6 +373,7 @@ public static TableMetadata fromJson(String
metadataLocation, JsonNode node) {
formatVersion == 1, "%s must exist in format v%s", SCHEMAS,
formatVersion);
schema = SchemaParser.fromJson(JsonUtil.get(SCHEMA, node));
+ Schema.checkCompatibility(schema, formatVersion);
Review Comment:
Thanks for the explanation! So in general we want to be less restrictive on
read side to open the opportunities of fix things instead of rejecting all the
errors.
I will revert this change.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]