Skip to content

Empty snapshot ID should be Null instead of -1 #352

Description

@Fokko

This is an old bug from Java. Where the Snapshot was set to -1 instead of None:

pub(crate) static EMPTY_SNAPSHOT_ID: i64 = -1;

From Java 1.5 and later this is fixed. For older version of Java, the current-snapshot-id is required. We solved this by setting a flag: apache/iceberg-python#473

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions