Skip to content

Commit 52cd0a7

Browse files
authored
Document TableAlreadyExistsError in rename_table (#3289)
# Rationale for this change Add a missing exception to `catalog.rename_table` method. ## Are these changes tested? No ## Are there any user-facing changes? No <!-- In the case of user-facing changes, please add the changelog label. -->
1 parent 0dce453 commit 52cd0a7

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

pyiceberg/catalog/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -545,6 +545,7 @@ def rename_table(self, from_identifier: str | Identifier, to_identifier: str | I
545545
546546
Raises:
547547
NoSuchTableError: If a table with the name does not exist.
548+
TableAlreadyExistsError: If the target table already exists.
548549
"""
549550

550551
@abstractmethod

0 commit comments

Comments
 (0)