aless10 commented on code in PR #8286:
URL: https://github.com/apache/iceberg/pull/8286#discussion_r1290357240
##########
python/pyiceberg/table/metadata.py:
##########
@@ -303,7 +306,7 @@ def to_v2(self) -> "TableMetadataV2":
metadata["format_version"] = 2
return TableMetadataV2(**metadata)
- format_version: Literal[1] = Field(alias="format-version")
+ format_version: Literal[1] = Field(alias="format-version", default=1)
Review Comment:
Ok, I set it here because there is the default in the v2
--
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]