[ https://issues.apache.org/jira/browse/FLINK-8301?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ruidong Li updated FLINK-8301: ------------------------------ Description: 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: '\u0001abc' -> codegen: "\u0001abc" literal: '\u0022\' -> codegen: "\"\\" was: 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\' "\"\\" > 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: '\u0001abc' -> codegen: "\u0001abc" > literal: '\u0022\' -> codegen: "\"\\" -- This message was sent by Atlassian JIRA (v6.4.14#64029)