You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2022/08/11 10:32:15 UTC

[GitHub] [spark] HyukjinKwon commented on a diff in pull request #37482: [SPARK-40042][PYTHON][DOCS] Make pyspark.sql.streaming.query examples self-contained

HyukjinKwon commented on code in PR #37482:
URL: https://github.com/apache/spark/pull/37482#discussion_r943334535


##########
python/pyspark/sql/streaming/query.py:
##########
@@ -337,7 +352,6 @@ def _test() -> None:
 
     globs["spark"] = spark
     globs["sqlContext"] = SQLContext.getOrCreate(spark.sparkContext)

Review Comment:
   We should probably remove `sqlContext` too (and replace the usages in the doctests to `spark`).



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org