GitHub user yhuai opened a pull request: https://github.com/apache/spark/pull/13769
[SPARK-16030] [SQL] Allow specifying static partitions when inserting to data source tables ## What changes were proposed in this pull request? This PR adds the static partition support to INSERT statement when the target table is a data source table. ## How was this patch tested? New tests in InsertIntoHiveTableSuite and DataSourceAnalysisSuite. **Note: This PR is based on https://github.com/apache/spark/pull/13766. The last commit is the actual change.** You can merge this pull request into a Git repository by running: $ git pull https://github.com/yhuai/spark SPARK-16030-1 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/13769.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 #13769 ---- commit 03aea3c75c6b4897d3d65d76e3e877b39fb3b3fd Author: Yin Huai <yh...@databricks.com> Date: 2016-06-19T01:26:53Z Remove unneeded code in DataFrameWriter.insertInto. commit 1e43dffe6712d618a6017891da2d78050c560ceb Author: Yin Huai <yh...@databricks.com> Date: 2016-06-19T01:29:30Z Follow up of SPARK-16033. Improve the error message (https://github.com/apache/spark/pull/13747#discussion_r67591585). commit 28d130dabda491d19f4ec1b625597f8cab4e2b6d Author: Yin Huai <yh...@databricks.com> Date: 2016-06-19T03:52:55Z Follow up of SPARK-16034. commit 13008137c86321f04b2b54fbaaaebb8f3643bf75 Author: Yin Huai <yh...@databricks.com> Date: 2016-06-19T04:45:59Z Follow up of SPARK-16036 commit 5315b80128e5cabc31ec0a77df9aca9a42aa10c5 Author: Yin Huai <yh...@databricks.com> Date: 2016-06-19T07:10:38Z [SPARK-16030] [SQL] Allow specifying static partitions when inserting to data source tables ---- --- 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