Skip to content

Commit 866e8df

Browse files
committed
[SPARK-7084] improve saveAsTable documentation
1 parent 29163c5 commit 866e8df

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

sql/core/src/main/scala/org/apache/spark/sql/DataFrame.scala

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1085,6 +1085,9 @@ class DataFrame private[sql](
10851085
* there is no notion of a persisted catalog in a standard SQL context. Instead you can write
10861086
* an RDD out to a parquet file, and then register that file as a table. This "table" can then
10871087
* be the target of an `insertInto`.
1088+
*
1089+
* Also note that this doesn't create a hive table, but instead creates a Spark data source table.
1090+
* Here the metadata is persisted into Hive. But table will be not accessible from the hive.
10881091
* @group output
10891092
*/
10901093
@Experimental

0 commit comments

Comments
 (0)