You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Tim Armstrong (JIRA)" <ji...@apache.org> on 2018/04/19 17:20:00 UTC

[jira] [Resolved] (IMPALA-2717) impala-shell breaks on non-ascii characters in the resultset

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

Tim Armstrong resolved IMPALA-2717.
-----------------------------------
       Resolution: Fixed
    Fix Version/s: Impala 3.1.0
                   Impala 2.13.0

> impala-shell breaks on non-ascii characters in the resultset
> ------------------------------------------------------------
>
>                 Key: IMPALA-2717
>                 URL: https://issues.apache.org/jira/browse/IMPALA-2717
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Clients
>    Affects Versions: Impala 2.2, Impala 2.3.0
>         Environment: CDH5.4.7
>            Reporter: Marcell Szabo
>            Assignee: Tim Armstrong
>            Priority: Minor
>              Labels: impala-shell, ramp-up, shell
>             Fix For: Impala 2.13.0, Impala 3.1.0
>
>         Attachments: IMPALA-2717.patch
>
>
> (Shell build version: Impala Shell v2.2.0-cdh5.4.7 (8b8d376) built on Thu Sep 17 02:00:38 PDT 2015)
> [host:21000] > insert into sometable values ('Árvíztűrő tükörfúrógép');
> Query: insert into sometable values ('Árvíztűrő tükörfúrógép')
> Inserted 1 row(s) in 6.84s
> [host:21000] > select * from sometable;
> Query: select * from sometable
> Unknown Exception : 'ascii' codec can't encode character u'\xc1' in position 83: ordinal not in range(128)
> [Not connected] >
> This is very similar to IMPALA-1130, IMPALA-489, IMPALA-738, the difference is that here the resultset contains the offending char.
> With the -B option the result is printed correctly.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)