dramaticlly commented on PR #8569:
URL: https://github.com/apache/iceberg/pull/8569#issuecomment-1743604553

   > Sorry for being so late to the party. I don't have a strong objection 
against this, but I'm curious about what the use case is. If you want to create 
a namespace then it is best to just try to create it, and catch the exception. 
If you check, and then create, then a race condition might occur. You still 
need to handle the exception in case the namespace has been created between the 
check and the creation.
   
   Thank you Fokko! I guess my motivation is simply to have feature parity 
between namespace and table on REST APIs. So our use case is not really do 
check before create, as Head call on namespace resource provide ability to 
check existence of namespace without provide explicit namespace matdadata like 
properties (even though today in our default implementation it's similar to 
loadNamespace and return true if it can be loaded)


-- 
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: issues-unsubscr...@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to