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:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]