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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Shang Yuanchun (Jira)
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)