Skip to content

Commit 8f3cd93

Browse files
Alok Singhrxin
authored andcommitted
[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 <“[email protected]”> Closes apache#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
1 parent c5532e2 commit 8f3cd93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/sql-programming-guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -828,7 +828,7 @@ using this syntax.
828828

829829
{% highlight scala %}
830830
val df = sqlContext.read.format("json").load("examples/src/main/resources/people.json")
831-
df.select("name", "age").write.format("json").save("namesAndAges.json")
831+
df.select("name", "age").write.format("parquet").save("namesAndAges.parquet")
832832
{% endhighlight %}
833833

834834
</div>

0 commit comments

Comments
 (0)