Skip to content

spec: clarity AssertRefSnapshotId's snapshot-id field as required #2376

@kevinjqliu

Description

@kevinjqliu

Apache Iceberg version

None

Please describe the bug 🐞

AssertRefSnapshotId's snapshot-id field is required even though it can be null or missing. Call out this specific requirement as some serializers might omit missing/null fields by default.

this is the only case of required but null/missing in the REST spec

We found this when working with pyiceberg #2343

Willingness to contribute

  • I can contribute a fix for this bug independently
  • I would be willing to contribute a fix for this bug with guidance from the Iceberg community
  • I cannot contribute a fix for this bug at this time

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions