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

    https://github.com/apache/flink/pull/566#discussion_r28610833
  
    --- Diff: 
flink-core/src/main/java/org/apache/flink/types/parser/DoubleParser.java ---
    @@ -42,6 +42,10 @@ public int parseField(byte[] bytes, int startPos, int 
limit, byte[] delimiter, D
                }
                
                String str = new String(bytes, startPos, i-startPos);
    +           if (str.length() == 0) {
    --- End diff --
    
    remove whitespaces with `String.trim()` before checking for `length() == 0`.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to