You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kudu.apache.org by "Todd Lipcon (JIRA)" <ji...@apache.org> on 2018/03/13 15:55:00 UTC

[jira] [Commented] (KUDU-2340) Unicode support for Kudu table names

    [ https://issues.apache.org/jira/browse/KUDU-2340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16397147#comment-16397147 ] 

Todd Lipcon commented on KUDU-2340:
-----------------------------------

I think this may be an Impala issue, or perhaps an impala-shell issue. Kudu itself supports table names that are valid UTF8. What does 'kudu table list' show after you've done the above?

> Unicode support for Kudu table names
> ------------------------------------
>
>                 Key: KUDU-2340
>                 URL: https://issues.apache.org/jira/browse/KUDU-2340
>             Project: Kudu
>          Issue Type: Bug
>            Reporter: Jim Halfpenny
>            Priority: Major
>
> It is possible to create a Kudu table containing unicode characters in its in Impala by specifying the kudu.table_name attribute. When trying to select from this table you receive an error that the underlying table does not exist.
> The example below shows a table being created successfully, but failing on a select * statement.
> {{[jh-kafka-2:21000] > create table test2( a int primary key) stored as kudu TBLPROPERTIES('kudu.table_name' = 'impala::kudutest.😀');}}
> {{Query: create table test2( a int primary key) stored as kudu TBLPROPERTIES('kudu.table_name' = 'impala::kudutest.😀')}}
> {{WARNINGS: Unpartitioned Kudu tables are inefficient for large data sizes.}}{{Fetched 0 row(s) in 0.64s}}
> {{[jh-kafka-2:21000] > select * from test2;}}
> {{Query: select * from test2}}
> {{Query submitted at: 2018-03-13 08:23:29 (Coordinator: https://jh-kafka-2:25000)}}
> {{ERROR: AnalysisException: Failed to load metadata for table: 'test2'}}
> {{CAUSED BY: TableLoadingException: Error loading metadata for Kudu table impala::kudutest.????}}
> {{CAUSED BY: ImpalaRuntimeException: Error opening Kudu table 'impala::kudutest.????', Kudu error: The table does not exist: table_name: "impala::kudutest.????"}}



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