Github user zentol commented on a diff in the pull request:
https://github.com/apache/flink/pull/4088#discussion_r122929860
--- Diff:
flink-core/src/main/java/org/apache/flink/api/common/io/DelimitedInputFormat.java
---
@@ -269,6 +272,9 @@ public void setBufferSize(int bufferSize) {
if (bufferSize < 1) {
throw new IllegalArgumentException("Buffer size must be
at least 1.");
}
+ if (bufferSize <= delimiter.length) {
--- End diff --
we should also adjust the condition above that `bufferSize` must be be
greater than one.
---
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.
---