Skip to content

fix(rest): use "ref" field name for AssertRefSnapshotId requirement#702

Merged
wgtmac merged 1 commit into
apache:mainfrom
plusplusjiajia:fix-assert-ref-snapshot-id-field
Jun 10, 2026
Merged

fix(rest): use "ref" field name for AssertRefSnapshotId requirement#702
wgtmac merged 1 commit into
apache:mainfrom
plusplusjiajia:fix-assert-ref-snapshot-id-field

Conversation

@plusplusjiajia

Copy link
Copy Markdown
Member

The AssertRefSnapshotId table requirement was serialized and deserialized with the JSON field name ref-name. Per the Iceberg REST OpenAPI spec (rest-catalog-open-api.yaml), this requirement's field is named ref. Only the SetSnapshotRef / RemoveSnapshotRef updates use ref-name

@plusplusjiajia plusplusjiajia force-pushed the fix-assert-ref-snapshot-id-field branch from 37be27f to 96e2329 Compare June 7, 2026 09:03

@wgtmac wgtmac left a comment

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.

Nice catch!

@wgtmac wgtmac merged commit 701d39c into apache:main Jun 10, 2026
18 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.

3 participants