You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Yiyan Lu (JIRA)" <ji...@apache.org> on 2017/12/14 03:52:00 UTC

[jira] [Created] (BEAM-3348) Beam SQL DSL not support non-ascii characters in sql

Yiyan Lu created BEAM-3348:
------------------------------

             Summary: Beam SQL DSL not support non-ascii characters in sql
                 Key: BEAM-3348
                 URL: https://issues.apache.org/jira/browse/BEAM-3348
             Project: Beam
          Issue Type: Bug
          Components: dsl-sql
    Affects Versions: 2.2.0
            Reporter: Yiyan Lu
            Assignee: Xu Mingmin
             Fix For: 2.2.0


When I have non-ascii in Beam SQL:
```
SELECT * FROM TABLE_A WHERE f_string = '第四行'
```
 calcite planner will throw exception:
```
Caused by: org.apache.calcite.runtime.CalciteException: Failed to encode '第四行' in character set 'ISO-8859-1'
```
cause by calcite using ISO-8859-1 for default charset



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