Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: TableUpdate Snapshot deserialization for v1 #656

Merged
merged 1 commit into from
Oct 3, 2024

Conversation

c-thiel
Copy link
Contributor

@c-thiel c-thiel commented Oct 2, 2024

The rest-spec specifies sequence-number as optional for TableUpdates:
https://github.com/apache/iceberg/blob/09c737656d316ab6172e0d5ee6920869237e6fd1/open-api/rest-catalog-open-api.yaml#L2319-L2326

In the previous deserialization of updates using _serde::SnapshotV2 sequence-number is required.

This PR adds a separate deserialization function for catalogs that follows the REST spec.

I got errors from starrocks when writing V1 tables.

Copy link
Member

@Xuanwo Xuanwo left a comment

Choose a reason for hiding this comment

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

Thanks!

@Xuanwo Xuanwo merged commit d3b3ab1 into apache:main Oct 3, 2024
16 checks passed
@c-thiel c-thiel deleted the fix/table-update-snapshot-v1-compat branch October 3, 2024 10:09
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