xiaoxuandev commented on code in PR #4821:
URL: https://github.com/apache/iceberg/pull/4821#discussion_r877630643
##########
aws/src/main/java/org/apache/iceberg/aws/glue/GlueTableOperations.java:
##########
@@ -128,6 +131,16 @@ protected void doCommit(TableMetadata base, TableMetadata
metadata) {
} catch (software.amazon.awssdk.services.glue.model.AlreadyExistsException
e) {
throw new AlreadyExistsException(e,
"Cannot commit %s because its Glue table already exists when trying
to create one", tableName());
+ } catch
(software.amazon.awssdk.services.glue.model.EntityNotFoundException e) {
+ throw new NotFoundException(e,
+ "Cannot commit %s because Glue cannot find the requested
entity", tableName());
Review Comment:
Indent should be 4 here
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]