You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Thomas Tauber-Marshall (JIRA)" <ji...@apache.org> on 2017/11/08 22:05:00 UTC
[jira] [Resolved] (IMPALA-2634) show create table does not include
partitioning info for kudu tables
[ https://issues.apache.org/jira/browse/IMPALA-2634?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thomas Tauber-Marshall resolved IMPALA-2634.
--------------------------------------------
Resolution: Fixed
Fix Version/s: Impala 2.8.0
This was fixed as a side effect of IMPALA-3719
> show create table does not include partitioning info for kudu tables
> --------------------------------------------------------------------
>
> Key: IMPALA-2634
> URL: https://issues.apache.org/jira/browse/IMPALA-2634
> Project: IMPALA
> Issue Type: Bug
> Components: Frontend
> Affects Versions: Kudu_Impala
> Reporter: Mike Percy
> Labels: kudu, ramp-up, usability
> Fix For: Impala 2.8.0
>
>
> When I do a CREATE TABLE for a Kudu table, using for example hash partitioning, I use this syntax:
> {code}
> CREATE TABLE test_table_1 (id BIGINT, name STRING)
> DISTRIBUTE BY HASH(id) INTO 16 BUCKETS
> TBLPROPERTIES ( 'kudu.master_addresses'='host1.example.com:7051', 'kudu.key_columns'='id', 'kudu.table_name'='test_table_1', 'storage_handler'='com.cloudera.kudu.hive.KuduStorageHandler');
> );
> {code}
> However when I execute SHOW CREATE TABLE I get the following output that does not include the DISTRIBUTE BY clause:
> {code}
> CREATE TABLE default.test_table_1 (id BIGINT, name STRING)
> TBLPROPERTIES ('numFiles'='0',
> 'kudu.master_addresses'='host1.example.com:7051', 'kudu.key_columns'='id', 'kudu.table_name'='test_table_1', 'transient_lastDdlTime'='1446674173',
> 'COLUMN_STATS_ACCURATE'='false', 'totalSize'='0', 'numRows'='-1',
> 'rawDataSize'='-1',
> 'storage_handler'='com.cloudera.kudu.hive.KuduStorageHandler')
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)