yadavay-amzn commented on PR #16072:
URL: https://github.com/apache/iceberg/pull/16072#issuecomment-4426843971

   @cloventt Good suggestion. Updated to check `namespaceExists()` first and 
only call `createNamespace()` if the namespace does not exist. This way users 
with read-only Glue access never hit the permission error when the database 
already exists. The catch block is kept as defense-in-depth for concurrent 
creation or other edge cases. Also added a test verifying that 
`createNamespace` is never called when the namespace already exists.


-- 
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]

Reply via email to