GitHub user brandonJY opened a pull request: https://github.com/apache/spark/pull/20325
[SPARK-22808][DOCS] add insertInto when save hive built dataframe ## What changes were proposed in this pull request? based on https://issues.apache.org/jira/browse/SPARK-22808 & https://issues.apache.org/jira/browse/SPARK-16803, insertInto should be used instead of saveAsTable when dataframe is built on Hive table. Example code in this doc does not affect. Additional example code is not added in the moment, due to we may patch for the saveAsTable later. So just editing the doc at the moment. ## How was this patch tested? manual tested You can merge this pull request into a Git repository by running: $ git pull https://github.com/brandonJY/spark SPARK-22808 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/20325.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 #20325 ---- commit a40a8fae927eb63dabb8461f02f737d5b25ce5e6 Author: Brandon Jiang <brandon.jiang.a@...> Date: 2018-01-19T05:48:22Z [SPARK-22808][DOCS] add insertInto when save hive built dataframe based on https://issues.apache.org/jira/browse/SPARK-22808 & https://issues.apache.org/jira/browse/SPARK-16803, insertInto should be used instead of saveAsTable when dataframe is built on Hive table. Example code in this doc does not affect. Additional example code is not added in the moment, due to we may patch for the saveAsTable later. So just editing the doc at the moment. ---- --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org