Skip to content

Conversation

@Fokko
Copy link
Contributor

Add an UpdateSnapshot for constructing snapshots similar to the Java API, and the update schema API.

This is also how it is done in Java, and I really like it since it allows you to easily queue up updates in a transaction. For example, an update to the schema.
@FokkoFokko added this to the PyIceberg 0.7.0 release milestone Feb 19, 2024
@HonahXHonahX self-requested a review February 19, 2024 23:44
Copy link
Contributor

@HonahXHonahX left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks for working on this @Fokko! May be in a follow-up PR: Shall we also add a new section in API to show examples of UpdateSnapshot?

@FokkoFokko merged commit 015226d into apache:mainFeb 20, 2024
sungwy pushed a commit to sungwy/iceberg-python that referenced this pull request Feb 20, 2024
* Make the snapshot creation part of the `Transaction` This is also how it is done in Java, and I really like it since it allows you to easily queue up updates in a transaction. For example, an update to the schema. * Extend the API
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@Fokko@HonahX