rdblue commented on pull request #1508:
URL: https://github.com/apache/iceberg/pull/1508#issuecomment-701035738


   Good observations, @edwinchoi. I'm not sure why the snapshot log is cleared 
out when a table is replaced. That log should track the snapshot that was 
current a given time, which seems like the right one to use. We use it for time 
travel queries, for example. But since the log is not there, we can use the 
metadata file log instead as you suggested to find the snapshot that was 
current at some time.
   
   We should not use the list of snapshots because there is no guarantee that 
any given snapshot was ever the current version (like a branch in git that is 
never the main branch).


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