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 2019/05/07 13:18:42 UTC

[GitHub] [spark] asaf400 opened a new pull request #24547: Fix invalid documentation for StreamingQueryManager Class

asaf400 opened a new pull request #24547: Fix invalid documentation for StreamingQueryManager Class
URL: https://github.com/apache/spark/pull/24547
 
 
   ## What changes were proposed in this pull request?
   
   When following the example for using `spark.streams().awaitAnyTermination()` a valid pyspark code will output the following error:
   
   ```Traceback (most recent call last):
     File "pyspark_app.py", line 182, in <module>
       spark.streams().awaitAnyTermination()
   TypeError: 'StreamingQueryManager' object is not callable```
   
   This changes the documentation line to properly call the method under the StreamingQueryManager Class
   https://spark.apache.org/docs/latest/api/python/pyspark.sql.html#pyspark.sql.streaming.StreamingQueryManager
   
   ## How was this patch tested?
   
   After changing the syntax, error no longer occurs and pyspark application works
   
   This is only docs change 
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

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