You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Ruidong Li (JIRA)" <ji...@apache.org> on 2017/12/21 08:05:00 UTC

[jira] [Created] (FLINK-8301) Support Unicode in codegen for TableAPI && SQL

Ruidong Li created FLINK-8301:
---------------------------------

             Summary: Support Unicode in codegen for TableAPI && SQL
                 Key: FLINK-8301
                 URL: https://issues.apache.org/jira/browse/FLINK-8301
             Project: Flink
          Issue Type: Improvement
          Components: Table API & SQL
            Reporter: Ruidong Li
            Assignee: Ruidong Li


The current code generation do not support Unicode, "\u0001" will be generated to "\\u0001", function call like concat(str, "\u0001") will lead to wrong result.

This issue intend to handle char/varchar literal correctly, some examples followed as below.
literal                      codegen
'\u0001abc'             "\u0001abc"
'\u0022\'                  "\"\\"




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)