GitHub user cloud-fan opened a pull request:

    https://github.com/apache/spark/pull/16487

    [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`

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/cloud-fan/spark hive-table

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/16487.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #16487
    
----
commit c83f6635975d4bbaa6f298574c4d63ad4efda646
Author: Wenchen Fan <wenc...@databricks.com>
Date:   2017-01-06T15:26:53Z

    support creating hive table with DataFrameWriter and Catalog

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to