beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xu Mingmin (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (BEAM-3348) Beam SQL DSL not support non-ascii characters in sql
Date Tue, 30 Jan 2018 20:03:00 GMT

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

Mime
View raw message