Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-28607

Table-API print connector encoding issue

    XMLWordPrintableJSON

Details

    Description

      I found out Table API's print connector has an encoding issue.

       

      https://github.com/apache/flink/blob/master/flink-core/src/main/java/org/apache/flink/api/common/functions/util/PrintSinkOutputWriter.java#L54

      You can set PrintStream with encoding like this.

      ```java

      PrintStream stream = new PrintStream(System.out, true, StandardCharsets.UTF_8);

      ```

       

      Can I make a PR for this?

      Attachments

        Activity

          People

            sarahhhc Sarah Cho
            sarahhhc Sarah Cho
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: