spark-instrumented-optimizer/sql/hive-thriftserver/src/test
Andrew Or 7d2ed8cc03 [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.
2016-04-13 11:08:34 -07:00
..
resources/data/files [SPARK-3004][SQL] Added null checking when retrieving row set 2014-08-13 16:27:50 -07:00
scala/org/apache/spark/sql/hive/thriftserver [SPARK-14388][SQL] Implement CREATE TABLE 2016-04-13 11:08:34 -07:00