Skip to content

AWS: Fix GlueCatalog: Add suppressed exception when rollback fails. Throw iceberg AlreadyExistsException rather than aws version#17122

Open
jamespfaulkner wants to merge 1 commit into
apache:mainfrom
jamespfaulkner:fix/glue-rename-exception-handling
Open

AWS: Fix GlueCatalog: Add suppressed exception when rollback fails. Throw iceberg AlreadyExistsException rather than aws version#17122
jamespfaulkner wants to merge 1 commit into
apache:mainfrom
jamespfaulkner:fix/glue-rename-exception-handling

Conversation

@jamespfaulkner

Copy link
Copy Markdown
Contributor

Hey folks.

This addresses a couple of small bugs in GlueCatalog.renameTable

Correct exception

When the destination table name already exists, an Iceberg AlreadyExistsException is thrown rather than the glue variation.

Original Exception lost during rollback

In the failure case, when rolling back the new table creation, if that also fails the original exception is lost. They are both now included in the throws with the use of addSuppress.

…hrow iceberg AlreadyExistsException rather than aws version
@github-actions github-actions Bot added the AWS label Jul 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant