sshkvar commented on pull request #2850:
URL: https://github.com/apache/iceberg/pull/2850#issuecomment-889849331


   This PR adds ability to have unique table location. 
   In this case each new table will have unique path on s3. 
   Based on it example from my previous message will looks:
   1. User create table with name `table1` (location: 
`s3://iceberg/table1-eecec917-53b8-4d28-a900-c88061fc7ac2`)
   2. Then rename it to `table2` (location not change during update 
`s3://iceberg/table1-eecec917-53b8-4d28-a900-c88061fc7ac2`) 
   3. Create new table with name `table1` (location: 
`s3://iceberg/table1-309f7903-c4b2-4df1-b890-a481bb47c4c5`)
   
   As we have unique location we can perform remove orphan files (compaction) 
for bot tables safety.
   Looks like it can be pretty general case. 
   @RussellSpitzer @kbendick what do you think? Is it make sense to add such 
property to Hive catalog? 


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