GitHub user windpiger opened a pull request: https://github.com/apache/spark/pull/16593
[SPARK-19153][SQL]DataFrameWriter.saveAsTable work with create partitioned table ## What changes were proposed in this pull request? After [SPARK-19107](https://issues.apache.org/jira/browse/SPARK-19153), 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 provide DataFrameWriter.saveAsTable work with hive format to create partitioned table. ## 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 saveAsTableWithPartitionedTable Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/16593.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 #16593 ---- commit 6c31d017324b3c7f310103d2d4b5138bbef4b463 Author: windpiger <song...@outlook.com> Date: 2017-01-16T06:23:09Z [SPARK-19153][SQL]DataFrameWriter.saveAsTable work with create partitioned table ---- --- 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