GitHub user windpiger opened a pull request: https://github.com/apache/spark/pull/16549
[SPARK-19151][SQL][WIP]DataFrameWriter.saveAsTable support hive overwrite ## What changes were proposed in this pull request? After SPARK-19107, we now can treat hive as a data source and create hive tables with DataFrameWriter and Catalog. However, the support is not completed, there are still some cases we do not support. This PR implement: DataFrameWriter.saveAsTable work with hive format with overwrite mode ## How was this patch tested? unit test added You can merge this pull request into a Git repository by running: $ git pull https://github.com/windpiger/spark saveAsTableWithHiveOverwrite Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/16549.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 #16549 ---- commit 8f279c6e928bbb3df9a79a44f22723a64852c66e Author: windpiger <song...@outlook.com> Date: 2017-01-11T10:52:55Z [SPARK-19151][SQL][WIP]DataFrameWriter.saveAsTable support hive overwrite ---- --- 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