You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Xu Mingmin (JIRA)" <ji...@apache.org> on 2018/01/30 20:03:00 UTC
[jira] [Closed] (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 ]
Xu Mingmin closed BEAM-3348.
----------------------------
Resolution: Fixed
Fix Version/s: 2.3.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
> Priority: Major
> Fix For: 2.3.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
(v7.6.3#76005)