gyfora commented on a change in pull request #14174:
URL: https://github.com/apache/flink/pull/14174#discussion_r531122146



##########
File path: 
flink-core/src/main/java/org/apache/flink/api/common/io/DelimitedInputFormat.java
##########
@@ -755,10 +759,13 @@ public void reopen(FileInputSplit split, Long state) 
throws IOException {
                                fillBuffer(0);
                        } else {
                                this.splitLength = this.splitStart + 
split.getLength() - this.offset;
-                               if (splitLength <= 0) {
-                                       this.end = true;
-                               }
                        }
                }
+
+               initializeSplit(split, state);

Review comment:
       True, it doesn't hurt but shouldn't be necessary




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

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


Reply via email to