HonahX opened a new pull request, #182: URL: https://github.com/apache/iceberg-python/pull/182
Fixes #179 This PR uses Pydantic's [`model_copy`](https://docs.pydantic.dev/latest/api/base_model/#pydantic.main.BaseModel.model_copy) to apply table updates to metadata. Specifically: - When applying `AddSchema`, `SetCurrentSchema`, `AddSnapshot`, `SetSnapshotRef`, we use `base_metadata.model_copy(update=...)` to get the updated metadata. - When applying `UpgradeFormatVersion`, we still need to rebuild the whole model from `TableMetadataV1` to `TableMetadataV2` -- 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 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