Github user fhueske commented on a diff in the pull request:

    https://github.com/apache/incubator-flink/pull/201#discussion_r20826143
  
    --- Diff: 
flink-java/src/main/java/org/apache/flink/api/java/io/CsvInputFormat.java ---
    @@ -137,6 +239,7 @@ public OUT readRecord(OUT reuse, byte[] bytes, int 
offset, int numBytes) {
                        }
                        return reuse;
                } else {
    +                   this.invalidLineCount++;
    --- End diff --
    
    The DelimitedIF forwards the returned `null` to the DataSourceTask where it 
is ignored. Hence, there is no checking for input correctness. If the CsvIF was 
configured with lenient = false, we need to raise an exception here instead of 
returning null.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to