HonahX opened a new issue, #3379:
URL: https://github.com/apache/polaris/issues/3379

   ### Describe the bug
   
   Currently, when updating write.data.path of the table to a subdir under the 
table location, it will fail the location overlap check. 
   
   ### To Reproduce
   
   For example
   ```
   spark-sql> ALTER TABLE tb1 SET TBLPROPERTIES (
     'write.data.path' = '<tableLocation>/alternative_data'
   );
   
   org.apache.iceberg.exceptions.ForbiddenException: Forbidden: Unable to 
create table at location 's3://<table_location>' because it conflicts with 
existing table or namespace at location 's3://<table_location>`
   ```
   
   
   ### Actual Behavior
   
   _No response_
   
   ### Expected Behavior
   
   The `validateNoLocationOverlap` should only prevent updating table location 
to be the same or child of sibling table's locations, not itself. Setting 
`write.data.path` to `<table_location>/alternative` instead of the default 
`<table_location>/data` should be a valid use case
   
   ### 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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to