yihua commented on code in PR #9789:
URL: https://github.com/apache/hudi/pull/9789#discussion_r1369683789


##########
hudi-common/src/main/java/org/apache/hudi/io/storage/HoodieAvroHFileReader.java:
##########
@@ -684,6 +685,10 @@ private static class RecordIterator implements 
ClosableIterator<IndexedRecord> {
     public boolean hasNext() {
       try {
         // NOTE: This is required for idempotency
+        if (eof) {
+          return false;
+        }

Review Comment:
   Under what condition does the infinite iteration happen?  How to reproduce 
it in a test?



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

Reply via email to