aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlok Singh <“singhal@us.ibm.com”>2015-07-08 14:51:18 -0700
committerReynold Xin <rxin@databricks.com>2015-07-08 14:51:25 -0700
commit4df0f1b1bbc994c4e538e22c4580c62f4fed9c45 (patch)
treebbc47d09580207b71ca82c4280dcbb0159606491
parent512786350a2178b441071d29a3a33f723f4c8f87 (diff)
downloadspark-4df0f1b1bbc994c4e538e22c4580c62f4fed9c45.tar.gz
spark-4df0f1b1bbc994c4e538e22c4580c62f4fed9c45.tar.bz2
spark-4df0f1b1bbc994c4e538e22c4580c62f4fed9c45.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 (cherry picked from commit 8f3cd93278337dc10b9dd3a344d6f7b51ba9960d) Signed-off-by: Reynold Xin <rxin@databricks.com>
-rw-r--r--docs/sql-programming-guide.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/sql-programming-guide.md b/docs/sql-programming-guide.md
index 9c689e9f58..79111a74b0 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>