IMPALA-6571: NullPointerException in SHOW CREATE TABLE for HBase tables
authorFredy Wijaya <fwijaya@cloudera.com>
Mon, 2 Apr 2018 16:19:36 +0000 (09:19 -0700)
committerImpala Public Jenkins <impala-public-jenkins@gerrit.cloudera.org>
Wed, 11 Apr 2018 22:55:59 +0000 (22:55 +0000)
commit09b58f6c8b24ae6b4fddab72466d5fc61c7c7ca8
tree0c225163a13f59088998ad34b013f04b2ccc5f24
parent0a8cac2a64acdbfe1f7742ccdca31537e43adbac
IMPALA-6571: NullPointerException in SHOW CREATE TABLE for HBase tables

This patch fixes the NullPointerException in SHOW CREATE TABLE for HBase
tables.

Testing:
- Moved the content of back hbase-show-create-table.test to
  show-create-table.test
- Ran show-create-table end-to-end tests

Change-Id: Ibe018313168fac5dcbd80be9a8f28b71a2c0389b
Reviewed-on: http://gerrit.cloudera.org:8080/9884
Reviewed-by: Alex Behm <alex.behm@cloudera.com>
Tested-by: Impala Public Jenkins
fe/src/main/java/org/apache/impala/analysis/ToSqlUtils.java
testdata/workloads/functional-query/queries/QueryTest/hbase-show-create-table.test [deleted file]
testdata/workloads/functional-query/queries/QueryTest/show-create-table.test
tests/metadata/test_show_create_table.py