aboutsummaryrefslogtreecommitdiff
path: root/docs/configuration.md
diff options
context:
space:
mode:
authorWeichenXu <WeichenXu123@outlook.com>2016-07-06 10:41:48 -0700
committerReynold Xin <rxin@databricks.com>2016-07-06 10:41:48 -0700
commitb1310425b30cbd711e4834d65a0accb3c5a8403a (patch)
tree3af09805f2b1adfc60790c710c5f8f06074890fa /docs/configuration.md
parent23eff5e512df5710ea6591a3fce321b53eb3fb0b (diff)
downloadspark-b1310425b30cbd711e4834d65a0accb3c5a8403a.tar.gz
spark-b1310425b30cbd711e4834d65a0accb3c5a8403a.tar.bz2
spark-b1310425b30cbd711e4834d65a0accb3c5a8403a.zip
[DOC][SQL] update out-of-date code snippets using SQLContext in all documents.
## What changes were proposed in this pull request? I search the whole documents directory using SQLContext, and update the following places: - docs/configuration.md, sparkR code snippets. - docs/streaming-programming-guide.md, several example code. ## How was this patch tested? N/A Author: WeichenXu <WeichenXu123@outlook.com> Closes #14025 from WeichenXu123/WIP_SQLContext_update.
Diffstat (limited to 'docs/configuration.md')
-rw-r--r--docs/configuration.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/configuration.md b/docs/configuration.md
index cee59cf2aa..1e95b86244 100644
--- a/docs/configuration.md
+++ b/docs/configuration.md
@@ -1564,8 +1564,8 @@ spark.sql("SET -v").show(n=200, truncate=False)
<div data-lang="r" markdown="1">
{% highlight r %}
-# sqlContext is an existing sqlContext.
-properties <- sql(sqlContext, "SET -v")
+sparkR.session()
+properties <- sql("SET -v")
showDF(properties, numRows = 200, truncate = FALSE)
{% endhighlight %}