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/20 02:49:00 UTC

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

     [ https://issues.apache.org/jira/browse/BEAM-3348?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yiyan Lu updated BEAM-3348:
---------------------------
    Fix Version/s:     (was: 2.2.0)

> 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
>
> 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)