Skip to content
Snippets Groups Projects
Commit 8f3cd932 authored by Alok Singh's avatar Alok Singh Committed by Reynold Xin
Browse files

[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
parent c5532e2f
No related branches found
No related tags found
No related merge requests found
......@@ -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>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment