diff options
author | Wenchen Fan <wenchen@databricks.com> | 2017-01-10 19:26:51 +0800 |
---|---|---|
committer | Wenchen Fan <wenchen@databricks.com> | 2017-01-10 19:26:51 +0800 |
commit | b0319c2ecb51bb97c3228afa4a384572b9ffbce6 (patch) | |
tree | 6319858f1cfc02edbe9e87b32381fc4ddfd6756f /examples/src/main/python/pi.py | |
parent | b0e5840d4b37d7b73e300671795185bba37effb0 (diff) | |
download | spark-b0319c2ecb51bb97c3228afa4a384572b9ffbce6.tar.gz spark-b0319c2ecb51bb97c3228afa4a384572b9ffbce6.tar.bz2 spark-b0319c2ecb51bb97c3228afa4a384572b9ffbce6.zip |
[SPARK-19107][SQL] support creating hive table with DataFrameWriter and Catalog
## What changes were proposed in this pull request?
After unifying the CREATE TABLE syntax in https://github.com/apache/spark/pull/16296, it's pretty easy to support creating hive table with `DataFrameWriter` and `Catalog` now.
This PR basically just removes the hive provider check in `DataFrameWriter.saveAsTable` and `Catalog.createExternalTable`, and add tests.
## How was this patch tested?
new tests in `HiveDDLSuite`
Author: Wenchen Fan <wenchen@databricks.com>
Closes #16487 from cloud-fan/hive-table.
Diffstat (limited to 'examples/src/main/python/pi.py')
0 files changed, 0 insertions, 0 deletions