karuppayya opened a new pull request, #12278:
URL: https://github.com/apache/iceberg/pull/12278

   ### Issue
   Tables t1 and t2 use a common prefix for their table location 
`/path/to/shared_root`.
    t1 has it data and metadata dir  ->  `/path/to/shared_root/t1`
   t2 has its data a and metadata dir -> `/path/to/shared_root` (Intentional or 
misconfigured table).
   When cleaning up t2 of orphan files, iceberg lists all files in 
`/path/to/shared_root`, including those in `/path/to/shared_root/t1`.
   This creates the risk of accidentally deleting t1's data.
   
   This change lists the data and metadata directory instead of table.
   
   
   


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