You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by rx...@apache.org on 2015/07/08 23:51:21 UTC

spark git commit: [SPARK-8909][Documentation] Change the scala example in sql-programmi…

Repository: spark
Updated Branches:
  refs/heads/master c5532e2fe -> 8f3cd9327


[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


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

Branch: refs/heads/master
Commit: 8f3cd93278337dc10b9dd3a344d6f7b51ba9960d
Parents: c5532e2
Author: Alok Singh <“singhal@us.ibm.com”>
Authored: Wed Jul 8 14:51:18 2015 -0700
Committer: Reynold Xin <rx...@databricks.com>
Committed: Wed Jul 8 14:51:18 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/8f3cd932/docs/sql-programming-guide.md
----------------------------------------------------------------------
diff --git a/docs/sql-programming-guide.md b/docs/sql-programming-guide.md
index 26f6ba8..5838bc1 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-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org