Github user fhueske commented on a diff in the pull request:
https://github.com/apache/incubator-flink/pull/247#discussion_r21403969
--- Diff:
flink-core/src/main/java/org/apache/flink/types/parser/StringValueParser.java
---
@@ -38,15 +38,16 @@
private StringValue result;
@Override
- public int parseField(byte[] bytes, int startPos, int length, char
delim, StringValue reusable) {
+ public int parseField(byte[] bytes, int startPos, int length, char[]
delim, StringValue reusable) {
this.result = reusable;
-
int i = startPos;
-
- final byte delByte = (byte) delim;
byte current;
-
+
+
+ String s = new String(bytes);
+ System.out.println("[StringValueParser] Input text: "+ s);
--- End diff --
Please remove debugging statements like these.
Unit tests should not write to the console.
---
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.
---