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


##########
python/pyspark/sql/streaming/query.py:
##########
@@ -381,11 +431,24 @@ def active(self) -> List[StreamingQuery]:
 
     def get(self, id: str) -> StreamingQuery:
         """
-        Returns an active query from this SparkSession or throws exception if 
an active query
-        with this name doesn't exist.
+        Returns an active query from this SparkSession.

Review Comment:
   ```suggestion
           Returns an active query from this :class:`SparkSession`.
   ```



##########
python/pyspark/sql/streaming/query.py:
##########
@@ -360,6 +405,11 @@ def active(self) -> List[StreamingQuery]:
 
         .. versionadded:: 2.0.0
 
+        Returns
+        -------
+        list
+            The active queries associated with this SparkSession.

Review Comment:
   ```suggestion
               The active queries associated with this :class:`SparkSession`.
   ```



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to