Description
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.??"
Attachments
Issue Links
- is related to
-
IMPALA-2019 Proper UTF-8 support in string functions
- Resolved
- relates to
-
HIVE-12157 Support unicode for table/column names
- Open