Open ZygimantasKoncius opened 3 days ago
1.6.1 (latest release)
None
Based on the Catalog interface renameTable should throw org.apache.iceberg.exceptions.AlreadyExistsException, but instead it throws software.amazon.awssdk.services.glue.model.AlreadyExistsException
Catalog
renameTable
org.apache.iceberg.exceptions.AlreadyExistsException
software.amazon.awssdk.services.glue.model.AlreadyExistsException
Bug is that: https://github.com/apache/iceberg/blob/06ed235f9748465a8d85f8772f052bfe64b2f955/aws/src/main/java/org/apache/iceberg/aws/glue/GlueCatalog.java#L419 isn't wrapped in software.amazon.awssdk.services.glue.model.AlreadyExistsException e and rethrown with Iceberg's AlreadyExistsException.
software.amazon.awssdk.services.glue.model.AlreadyExistsException e
AlreadyExistsException
Hi Team, Can somebody please review my PR #11165 ?
Apache Iceberg version
1.6.1 (latest release)
Query engine
None
Please describe the bug 🐞
Based on the
Catalog
interfacerenameTable
should throworg.apache.iceberg.exceptions.AlreadyExistsException
, but instead it throwssoftware.amazon.awssdk.services.glue.model.AlreadyExistsException
Bug is that: https://github.com/apache/iceberg/blob/06ed235f9748465a8d85f8772f052bfe64b2f955/aws/src/main/java/org/apache/iceberg/aws/glue/GlueCatalog.java#L419 isn't wrapped in
software.amazon.awssdk.services.glue.model.AlreadyExistsException e
and rethrown with Iceberg'sAlreadyExistsException
.Willingness to contribute