diff options
author | Andrew Or <andrew@databricks.com> | 2016-04-13 11:08:34 -0700 |
---|---|---|
committer | Yin Huai <yhuai@databricks.com> | 2016-04-13 11:08:34 -0700 |
commit | 7d2ed8cc030f3d84fea47fded072c320c3d87ca7 (patch) | |
tree | c85aedad5a7fb97ca4b02f1c8f81983f89b90f97 /conf | |
parent | 1018a1c1eb33eefbfb9025fac7a1cdafc5cbf8f8 (diff) | |
download | spark-7d2ed8cc030f3d84fea47fded072c320c3d87ca7.tar.gz spark-7d2ed8cc030f3d84fea47fded072c320c3d87ca7.tar.bz2 spark-7d2ed8cc030f3d84fea47fded072c320c3d87ca7.zip |
[SPARK-14388][SQL] Implement CREATE TABLE
## What changes were proposed in this pull request?
This patch implements the `CREATE TABLE` command using the `SessionCatalog`. Previously we handled only `CTAS` and `CREATE TABLE ... USING`. This requires us to refactor `CatalogTable` to accept various fields (e.g. bucket and skew columns) and pass them to Hive.
WIP: Note that I haven't verified whether this actually works yet! But I believe it does.
## How was this patch tested?
Tests will come in a future commit.
Author: Andrew Or <andrew@databricks.com>
Author: Yin Huai <yhuai@databricks.com>
Closes #12271 from andrewor14/create-table-ddl.
Diffstat (limited to 'conf')
0 files changed, 0 insertions, 0 deletions