You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Quanlong Huang (Jira)" <ji...@apache.org> on 2020/10/28 04:05:00 UTC

[jira] [Updated] (IMPALA-10299) Impala-shell hangs in printing partial UTF-8 characters

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

Quanlong Huang updated IMPALA-10299:
------------------------------------
    Description: 
Saw the hanging when playing around with Chinese characters:
{code:sql}
[localhost:21050] default> select substr("引擎", 1, 3);
Query: select substr("引擎", 1, 3)
Query submitted at: 2020-10-28 11:54:26 (Coordinator: http://quanlong-OptiPlex-BJ:25000)
Query progress can be monitored at: http://quanlong-OptiPlex-BJ:25000/query_plan?query_id=464f44d405bb16a1:5b41e00e00000000
+----------------------+
| substr('引擎', 1, 3) |
+----------------------+
| 引                   |
+----------------------+
Fetched 1 row(s) in 0.13s
[localhost:21050] default> select substr("引擎", 1, 2);
Query: select substr("引擎", 1, 2)
Query submitted at: 2020-10-28 11:54:32 (Coordinator: http://quanlong-OptiPlex-BJ:25000)
Query progress can be monitored at: http://quanlong-OptiPlex-BJ:25000/query_plan?query_id=d048231be08f29b4:860c959500000000
Caught exception 'utf8' codec can't decode bytes in position 0-1: unexpected end of data, type=<type 'exceptions.UnicodeDecodeError'> in FetchResults.

{code}
This seems not a problem in previous versions. E.g. see the examples in the description of IMPALA-9662.

  was:
Saw the hanging when playing around with Chinese charactors:

{code:sql}
[localhost:21050] default> select substr("引擎", 1, 3);
Query: select substr("引擎", 1, 3)
Query submitted at: 2020-10-28 11:54:26 (Coordinator: http://quanlong-OptiPlex-BJ:25000)
Query progress can be monitored at: http://quanlong-OptiPlex-BJ:25000/query_plan?query_id=464f44d405bb16a1:5b41e00e00000000
+----------------------+
| substr('引擎', 1, 3) |
+----------------------+
| 引                   |
+----------------------+
Fetched 1 row(s) in 0.13s
[localhost:21050] default> select substr("引擎", 1, 2);
Query: select substr("引擎", 1, 2)
Query submitted at: 2020-10-28 11:54:32 (Coordinator: http://quanlong-OptiPlex-BJ:25000)
Query progress can be monitored at: http://quanlong-OptiPlex-BJ:25000/query_plan?query_id=d048231be08f29b4:860c959500000000
Caught exception 'utf8' codec can't decode bytes in position 0-1: unexpected end of data, type=<type 'exceptions.UnicodeDecodeError'> in FetchResults.
{code}
This seems not a problem in previous versions. E.g. see the examples in the description of IMPALA-9662.

        Summary: Impala-shell hangs in printing partial UTF-8 characters  (was: Impala-shell hangs in printing partial UTF-8 charactors)

> Impala-shell hangs in printing partial UTF-8 characters
> -------------------------------------------------------
>
>                 Key: IMPALA-10299
>                 URL: https://issues.apache.org/jira/browse/IMPALA-10299
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Clients
>            Reporter: Quanlong Huang
>            Priority: Critical
>
> Saw the hanging when playing around with Chinese characters:
> {code:sql}
> [localhost:21050] default> select substr("引擎", 1, 3);
> Query: select substr("引擎", 1, 3)
> Query submitted at: 2020-10-28 11:54:26 (Coordinator: http://quanlong-OptiPlex-BJ:25000)
> Query progress can be monitored at: http://quanlong-OptiPlex-BJ:25000/query_plan?query_id=464f44d405bb16a1:5b41e00e00000000
> +----------------------+
> | substr('引擎', 1, 3) |
> +----------------------+
> | 引                   |
> +----------------------+
> Fetched 1 row(s) in 0.13s
> [localhost:21050] default> select substr("引擎", 1, 2);
> Query: select substr("引擎", 1, 2)
> Query submitted at: 2020-10-28 11:54:32 (Coordinator: http://quanlong-OptiPlex-BJ:25000)
> Query progress can be monitored at: http://quanlong-OptiPlex-BJ:25000/query_plan?query_id=d048231be08f29b4:860c959500000000
> Caught exception 'utf8' codec can't decode bytes in position 0-1: unexpected end of data, type=<type 'exceptions.UnicodeDecodeError'> in FetchResults.
> {code}
> This seems not a problem in previous versions. E.g. see the examples in the description of IMPALA-9662.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org