Repository: spark
Updated Branches:
  refs/heads/branch-1.4 512786350 -> 4df0f1b1b


[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 <“sing...@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

(cherry picked from commit 8f3cd93278337dc10b9dd3a344d6f7b51ba9960d)
Signed-off-by: Reynold Xin <r...@databricks.com>


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/4df0f1b1
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/4df0f1b1
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/4df0f1b1

Branch: refs/heads/branch-1.4
Commit: 4df0f1b1bbc994c4e538e22c4580c62f4fed9c45
Parents: 5127863
Author: Alok Singh <“sing...@us.ibm.com”>
Authored: Wed Jul 8 14:51:18 2015 -0700
Committer: Reynold Xin <r...@databricks.com>
Committed: Wed Jul 8 14:51:25 2015 -0700

----------------------------------------------------------------------
 docs/sql-programming-guide.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/4df0f1b1/docs/sql-programming-guide.md
----------------------------------------------------------------------
diff --git a/docs/sql-programming-guide.md b/docs/sql-programming-guide.md
index 9c689e9..79111a7 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>


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org
For additional commands, e-mail: commits-h...@spark.apache.org

Reply via email to