Support getting snapshot at or right before the given timestamp#748
Support getting snapshot at or right before the given timestamp#748HonahX merged 16 commits intoapache:mainfrom
Conversation
|
Hello @chinmay-bhat, I noticed that you are implementing the I believe that we need to discuss and choose which one we want to have in the codebase. |
|
Hi @ndrluis thank you for flagging this! That PR went under my radar, and I'm excited to see a incremental scanning feature being implemented already on PyIceberg. As for the question on the output type, I'm +1 for using Iterable[Snapshot] because I have a preference for using a class with set attributes than using a tuple. Im also +1 for introducing the feature in this separate PR, since it's a much simpler feature in itself we can introduce quickly. WDYT? |
|
Happy to update the output type to Iterable[Snapshot]! Also I really like how concise the ancestors_of function is in the other PR. |
89f2cc8 to
3288d92
Compare
HonahX
left a comment
There was a problem hiding this comment.
@chinmay-bhat Thanks for working on this! I left some comments. Love to see more snapshot utils being added.
HonahX
left a comment
There was a problem hiding this comment.
Thanks for updating! I think this is good to go when the lint issue is fixed.
b6b24d7 to
287b386
Compare
Fokko
left a comment
There was a problem hiding this comment.
Looking great @chinmay-bhat and thanks for the review @HonahX 🙌
|
Merged! Thanks @chinmay-bhat for the great work! Thanks @Fokko @syun64 @ndrluis for the review and discussions! |
|
Congrats on your first PR @chinmay-bhat ! |
Bring support to retrieve a snapshot before a particular timestamp, which is needed to perform Spark procedure like rollback_to_timestamp.
See comment in issue