Skip to content

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

@Fokko

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

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