Github user fhueske commented on a diff in the pull request:
https://github.com/apache/flink/pull/5218#discussion_r159667815
--- Diff:
flink-core/src/main/java/org/apache/flink/types/parser/LongParser.java ---
@@ -86,6 +92,11 @@ public int parseField(byte[] bytes, int startPos, int
limit, byte[] delimiter, L
}
}
+ if (startPos == limit) {
--- End diff --
Why do we need this additional check?
This should never evaluate to `true` because the condition is checked
before.
---
