-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Description
Apache Iceberg version
1.2.1 (latest release)
Query engine
Spark
Please describe the bug 🐞
ci: https://github.com/xuzhiwen1255/iceberg/actions/runs/4775773009/jobs/8490338758
local :

I guess it has something to do with #4479
In the execution test method testFailReadingCheckpointInvalidSnapshot,a null pointer exception occurred.
The problem code is as follows,
SparkMicroBatchStream#latestOffset().
Snapshot curSnapshot = table.snapshot(startingOffset.snapshotId());Because the snapshot has been cleaned up, the snapshot cannot be obtained when the snapshot is obtained, which leads to a null pointer problem because it is not judged whether the snapshot is null when it is passed down.
Metadata
Metadata
Assignees
Labels
No labels