Skip to content

Commit 2f6131e

Browse files
geruhkevinjqliu
andauthored
Thanks Kevin!
Co-authored-by: Kevin Liu <kevinjqliu@users.noreply.github.com>
1 parent 5cbde35 commit 2f6131e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyiceberg/table/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1504,7 +1504,7 @@ def _check_uuid(current_metadata: TableMetadata, new_metadata: TableMetadata) ->
15041504
def _do_commit(self, updates: tuple[TableUpdate, ...], requirements: tuple[TableRequirement, ...]) -> None:
15051505
response = self.catalog.commit_table(self, requirements, updates)
15061506

1507-
# Check UUID to detect table replacement
1507+
# ensure table uuid has not changed
15081508
self._check_uuid(self.metadata, response.metadata)
15091509

15101510
# https://github.com/apache/iceberg/blob/f6faa58/core/src/main/java/org/apache/iceberg/CatalogUtil.java#L527

0 commit comments

Comments
 (0)