Skip to content

Conversation

@zhongyujiang
Copy link
Contributor

…unctions.

Rationale for this change

Currently, the documentation of these write functions contains some inaccuracies regarding snapshot operations. These update methods do not actually produce replace snapshots, but rather overwrite snapshots, because the rewrite here modifies the data (dropping the records that match the overwrite filter).

A replace snapshot is only generated when the table data itself is not changed, such as during data file rewrites or manifest rewrites.

https://iceberg.apache.org/spec/#snapshots

image

Are these changes tested?

Are there any user-facing changes?

Copy link
Contributor

@Fokko Fokko left a comment

Choose a reason for hiding this comment

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

Oh wow, great catch @zhongyujiang 🙌

@Fokko Fokko changed the title fix: incorrect descriptions of snapshot operations in write-related f… fix: incorrect descriptions of snapshot operations Sep 24, 2025
@Fokko Fokko merged commit 1bec9cf into apache:main Sep 26, 2025
10 checks passed
@zhongyujiang zhongyujiang deleted the gh/fix-table-write-doc branch September 28, 2025 01:32
Sign up for free to 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