eric-maynard opened a new issue, #2417:
URL: https://github.com/apache/polaris/issues/2417

   ### Describe the bug
   
   The default table location overlap check relies on the idea that the logical 
hierarchy of tables & namespaces within a catalog is aligned with the physical 
arrangement of those tables & namespaces within one of the catalog's allowed 
locations. However, it's currently possible to create a namespace outside of 
the parent catalog, which breaks not only this assumption but also the 
fundamental constraint of a catalog having a list of allowed locations.
   
   ### To Reproduce
   
   Create a catalog, such as with:
   ```bash
   ./polaris \
       catalogs \
       create quickstart_catalog \
       --storage-type file \
       --default-base-location 'file:///tmp/quickstart'
   ```
   
   Create a namespace:
   ```bash
   ./polaris \
       namespaces \
       create \
       --catalog quickstart_catalog \
       --location 'file:///tmp/ns' \
       ns
   ```
   
   ### Actual Behavior
   
   _No response_
   
   ### Expected Behavior
   
   _No response_
   
   ### Additional context
   
   _No response_
   
   ### System information
   
   _No response_


-- 
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...@polaris.apache.org.apache.org

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

Reply via email to