diff options
author | Alok Singh <“singhal@us.ibm.com”> | 2015-07-08 14:51:18 -0700 |
---|---|---|
committer | Reynold Xin <rxin@databricks.com> | 2015-07-08 14:51:18 -0700 |
commit | 8f3cd93278337dc10b9dd3a344d6f7b51ba9960d (patch) | |
tree | b23c470c9e2f9084c63a5245c021d7358564690b /docs | |
parent | c5532e2fe700978da4bdfdb54a522f5934c3db55 (diff) | |
download | spark-8f3cd93278337dc10b9dd3a344d6f7b51ba9960d.tar.gz spark-8f3cd93278337dc10b9dd3a344d6f7b51ba9960d.tar.bz2 spark-8f3cd93278337dc10b9dd3a344d6f7b51ba9960d.zip |
[SPARK-8909][Documentation] Change the scala example in sql-programmi…
…ng-guide#Manually Specifying Options to be in sync with java,python, R version
Author: Alok Singh <“singhal@us.ibm.com”>
Closes #7299 from aloknsingh/aloknsingh_SPARK-8909 and squashes the following commits:
d3c20ba [Alok Singh] fix the file to .parquet from .json
d476140 [Alok Singh] [SPARK-8909][Documentation] Change the scala example in sql-programming-guide#Manually Specifying Options to be in sync with java,python, R version
Diffstat (limited to 'docs')
-rw-r--r-- | docs/sql-programming-guide.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/sql-programming-guide.md b/docs/sql-programming-guide.md index 26f6ba84b9..5838bc172f 100644 --- a/docs/sql-programming-guide.md +++ b/docs/sql-programming-guide.md @@ -828,7 +828,7 @@ using this syntax. {% highlight scala %} val df = sqlContext.read.format("json").load("examples/src/main/resources/people.json") -df.select("name", "age").write.format("json").save("namesAndAges.json") +df.select("name", "age").write.format("parquet").save("namesAndAges.parquet") {% endhighlight %} </div> |