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

    https://github.com/apache/flink/pull/2901#discussion_r90944828
  
    --- Diff: 
flink-core/src/main/java/org/apache/flink/api/common/io/DelimitedInputFormat.java
 ---
    @@ -182,8 +186,37 @@ protected DelimitedInputFormat(Path filePath, 
Configuration configuration) {
                }
                loadConfigParameters(configuration);
        }
    -   
    -   
    +
    +   /**
    +    * Get the character set used for the row delimiter, field delimiter,
    +    * comment string, and {@link FieldParser}.
    +    *
    +    * @return the charset
    +    */
    +   @PublicEvolving
    +   public Charset getCharset() {
    +           if (this.charset == null) {
    +                   this.charset = Charset.forName(charsetName);
    +           }
    +           return this.charset;
    +   }
    +
    +   /**
    +    * Set the name of the character set used for the row delimiter, field
    +    * delimiter, comment string, and {@link FieldParser}.
    +    *
    +    * The delimeters and comment string are interpreted when set. Each
    --- End diff --
    
    Btw., the `DelimitedInputFormat` does not have a comment string or field 
parsers.


---
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