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 2022/01/05 17:47:55 UTC

[GitHub] [iceberg] ajantha-bhat opened a new issue #3850: Snapshot Reference : Snapshot history for branches and tags.

ajantha-bhat opened a new issue #3850:
URL: https://github.com/apache/iceberg/issues/3850


   Currently we cannot know what happened in a branch/tag as the snapshot history is mixed up.
   So, we can support a proper snapshot history.
   
   I see two ways of doing it,
   
   a) without spec change:   
   For each operation when table metadata is used/called, patch up the current branch's history by forming snapshot history. Currently metadata has each branch's current snapshot id. we can traverse parent id till root to get the history during run time. 
   
   b) with spec change:
   Instead of single snapshot history list. Have a history list per reference. Might increase the metadata size on the long run.
   
   Let me know which one you think is more reasonable and I can make the PR for that.
   cc: @rymurr , @rdblue , @jackye1995 


-- 
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-unsubscribe@iceberg.apache.org

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