zhongyujiang commented on PR #16929: URL: https://github.com/apache/iceberg/pull/16929#issuecomment-4777807796
@pvary Unfortunately, I was unable to create a full end-to-end test in unit tests, because triggering this bug requires the reader to fail mid-way through reading a task and then recover from a checkpoint — I don't know how to reproduce this scenario in a unit test. However, you can see that `testInitializationWithHeadFilesSkipped` is an end-to-end test of DataIterator that does not involve checkpointing. After executing dataIterator.seek(0, 0), the reader is actually positioned at fileOffset=1, recordOffset=0, but the current logic resets it to fileOffset=0, recordOffset=0. -- 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]
