You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by GitBox <gi...@apache.org> on 2021/05/10 22:54:55 UTC

[GitHub] [iceberg] szehon-ho commented on issue #2481: Allow snapshotting iceberg table (create new table based on certain Iceberg snapshot)

szehon-ho commented on issue #2481:
URL: https://github.com/apache/iceberg/issues/2481#issuecomment-837459076


   Yea , snapshotting an Iceberg table would be a great usability feature for sharing a certain snapshot of a table to others.
   
   The stageOnly() API probably works for this but is not well known, and hard to expose through Spark/Hive to be shareable to other users.
   
   One risk would be a user running snapshot on an Iceberg table, then dropping it thinking they are only dropping the snapshot.  
    If I'm not mistaken, dropping the table through the Sparkcatalog (purge=true) will drop all the current data of the original table (a general problem of the snapshot command).


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

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



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