xuzhiwen1255 opened a new issue, #7413:
URL: https://github.com/apache/iceberg/issues/7413

   ### 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 :  
   <img width="929" alt="image" 
src="https://user-images.githubusercontent.com/105710753/233824596-6117f069-dec1-4879-b3e6-86d958169fe4.png";>
   
   
    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().
   ```java
   
   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.
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to