Skip to content

feat: write snapshot v3 row lineage fields at top level#791

Merged
wgtmac merged 2 commits into
apache:mainfrom
wgtmac:snapshot_row_lineage
Jun 30, 2026
Merged

feat: write snapshot v3 row lineage fields at top level#791
wgtmac merged 2 commits into
apache:mainfrom
wgtmac:snapshot_row_lineage

Conversation

@wgtmac

@wgtmac wgtmac commented Jun 29, 2026

Copy link
Copy Markdown
Member

No description provided.

Comment thread src/iceberg/json_serde.cc Outdated
Comment thread src/iceberg/json_serde.cc Outdated
@wgtmac

wgtmac commented Jun 29, 2026

Copy link
Copy Markdown
Member Author

Thanks @manuzhang for the comment. Good catch!

Comment thread src/iceberg/snapshot.cc
parent_snapshot_id == other.parent_snapshot_id &&
sequence_number == other.sequence_number && timestamp_ms == other.timestamp_ms &&
schema_id == other.schema_id;
schema_id == other.schema_id && first_row_id == other.first_row_id &&

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

It looks odd if two snapshots with different row lineage attributes are deemed identical. I would rather think this is an oversight from apache/iceberg#11948. Both iceberg-rust and iceberg-python enforce all fields to be equal so I think it is fine to include them here.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Agreed. Opened apache/iceberg#17015 to fix at Java side.

@wgtmac wgtmac merged commit c65a806 into apache:main Jun 30, 2026
21 checks passed
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.

4 participants