fhueske commented on a change in pull request #6710: [FLINK-10134] UTF-16 
support for TextInputFormat bug fixed
URL: https://github.com/apache/flink/pull/6710#discussion_r221901134
 
 

 ##########
 File path: 
flink-java/src/main/java/org/apache/flink/api/java/io/TextInputFormat.java
 ##########
 @@ -85,14 +90,26 @@ public void configure(Configuration parameters) {
 
        @Override
        public String readRecord(String reusable, byte[] bytes, int offset, int 
numBytes) throws IOException {
+               String utf8 = "UTF-8";
 
 Review comment:
   This method must be as lightweight as possible. The step size can be 
determined when a split is opened.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to