aboutsummaryrefslogtreecommitdiff
path: root/examples/src/main/python
diff options
context:
space:
mode:
authorhyukjinkwon <gurwls223@gmail.com>2016-05-09 10:54:56 -0700
committerAndrew Or <andrew@databricks.com>2016-05-09 10:55:17 -0700
commit2992a215c9cd95a2be986b254f4e27d18e248b7d (patch)
tree2db3fd2c49a2d232b51baa80e47b705dd13100db /examples/src/main/python
parent671b382a80bc789d50f609783c7ba88fafc0c251 (diff)
downloadspark-2992a215c9cd95a2be986b254f4e27d18e248b7d.tar.gz
spark-2992a215c9cd95a2be986b254f4e27d18e248b7d.tar.bz2
spark-2992a215c9cd95a2be986b254f4e27d18e248b7d.zip
[MINOR][DOCS] Remove remaining sqlContext in documentation at examples
This PR removes `sqlContext` in examples. Actual usage was all replaced in https://github.com/apache/spark/pull/12809 but there are some in comments. Manual style checking. Author: hyukjinkwon <gurwls223@gmail.com> Closes #13006 from HyukjinKwon/minor-docs.
Diffstat (limited to 'examples/src/main/python')
-rw-r--r--examples/src/main/python/sql.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/src/main/python/sql.py b/examples/src/main/python/sql.py
index 5594223465..d2e895d931 100644
--- a/examples/src/main/python/sql.py
+++ b/examples/src/main/python/sql.py
@@ -69,7 +69,7 @@ if __name__ == "__main__":
# Register this DataFrame as a temporary table.
people.registerTempTable("people")
- # SQL statements can be run by using the sql methods provided by sqlContext
+ # SQL statements can be run by using the sql methods provided by `spark`
teenagers = spark.sql("SELECT name FROM people WHERE age >= 13 AND age <= 19")
for each in teenagers.collect():