Skip to content

Commit d3c20ba

Browse files
author
Alok Singh
committed
fix the file to .parquet from .json
1 parent d476140 commit d3c20ba

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("parquet").save("namesAndAges.json")
831+
df.select("name", "age").write.format("parquet").save("namesAndAges.parquet")
832832
{% endhighlight %}
833833

834834
</div>

0 commit comments

Comments
 (0)