diff options
author | Cheng Lian <lian@databricks.com> | 2016-05-11 20:44:04 -0700 |
---|---|---|
committer | Yin Huai <yhuai@databricks.com> | 2016-05-11 20:44:04 -0700 |
commit | f036dd7ce727b40877337da66d687214786c4f14 (patch) | |
tree | 043e375be809ac10a01340b18003d64bebdecaca /python | |
parent | ff92eb2e80f2f38d10ac524ced82bb3f94b5b2bf (diff) | |
download | spark-f036dd7ce727b40877337da66d687214786c4f14.tar.gz spark-f036dd7ce727b40877337da66d687214786c4f14.tar.bz2 spark-f036dd7ce727b40877337da66d687214786c4f14.zip |
[SPARK-14346] SHOW CREATE TABLE for data source tables
## What changes were proposed in this pull request?
This PR adds native `SHOW CREATE TABLE` DDL command for data source tables. Support for Hive tables will be added in follow-up PR(s).
To show table creation DDL for data source tables created by CTAS statements, this PR also added partitioning and bucketing support for normal `CREATE TABLE ... USING ...` syntax.
## How was this patch tested?
(Please explain how this patch was tested. E.g. unit tests, integration tests, manual tests)
A new test suite `ShowCreateTableSuite` is added in sql/hive package to test the new feature.
Author: Cheng Lian <lian@databricks.com>
Closes #12781 from liancheng/spark-14346-show-create-table.
Diffstat (limited to 'python')
0 files changed, 0 insertions, 0 deletions