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:11:00 UTC

[jira] [Created] (IMPALA-6173) SHOW CREATE TABLE broken for unpartitioned Kudu tables

Thomas Tauber-Marshall created IMPALA-6173:
----------------------------------------------

             Summary: SHOW CREATE TABLE broken for unpartitioned Kudu tables
                 Key: IMPALA-6173
                 URL: https://issues.apache.org/jira/browse/IMPALA-6173
             Project: IMPALA
          Issue Type: Bug
          Components: Infrastructure
    Affects Versions: Impala 2.10.0
            Reporter: Thomas Tauber-Marshall


IMPALA-5546 added the ability to create unpartitioned Kudu tables. When SHOW CREATE TABLE is run for such a table, we still print the "PARTITION BY" just without anything after it.

{noformat}
show create table tpch_kudu.region; 
Query: show create table tpch_kudu.region
+-------------------------------------------------------------------------------------------------------------+
| result                                                                                                      |
+-------------------------------------------------------------------------------------------------------------+
| CREATE TABLE tpch_kudu.region (                                                                             |
|   r_regionkey SMALLINT NOT NULL ENCODING AUTO_ENCODING COMPRESSION DEFAULT_COMPRESSION,                     |
|   r_name STRING NULL ENCODING AUTO_ENCODING COMPRESSION DEFAULT_COMPRESSION,                                |
|   r_comment STRING NULL ENCODING AUTO_ENCODING COMPRESSION DEFAULT_COMPRESSION,                             |
|   PRIMARY KEY (r_regionkey)                                                                                 |
| )                                                                                                           |
| PARTITION BY                                                                                                |
| STORED AS KUDU                                                                                              |
| TBLPROPERTIES ('STATS_GENERATED_VIA_STATS_TASK'='true', 'kudu.master_addresses'='127.0.0.1', 'numRows'='5') |
+-------------------------------------------------------------------------------------------------------------+
{noformat}

This prevents the stress test from running dml queries against Kudu because we use the SHOW CREATE TABLE output to create copies of the input tables.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)