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

2018-03-13 Thread Jim Halfpenny (JIRA)
Jim Halfpenny created KUDU-2340:
---

 Summary: 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


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)


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

2018-03-13 Thread Jim Halfpenny (JIRA)

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

Jim Halfpenny commented on KUDU-2340:
-

The Kudu table is created successfully, so I do suspect the is an Impala issue. 
Here's the list I get with 2 unicode table names:

{{[jhalfpenny@jh-kafka-1 ~]$ kudu table list `hostname`}}
{{impala::kudutest.😀}}
{{∂}}
{{impala::kudutest.test}}

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