Dam1029 opened a new pull request #3358:
URL: https://github.com/apache/iceberg/pull/3358


   When I read iceberg table using Spark Structured Streaming, I got a NPE 
error. The reason is the iceberg table has been execute expire snapshot before 
I read it. In this case, the method oldestSnapshot in SnapshotUtil can not 
work, and return null snapshot. So the SparkMicroBatchStream.initialOffset() 
will throw NPE.
   
   
![image](https://user-images.githubusercontent.com/26566636/138546213-95584a76-117c-47b3-b058-f8e399965987.png)
   


-- 
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