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


##########
python/pyspark/sql/streaming/query.py:
##########
@@ -382,10 +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.
+        with this id doesn't exist.
 
         .. versionadded:: 2.0.0
 
+        Parameters
+        ----------
+        id : str
+            The unique id of specified query.
+
+        Returns
+        -------
+        :class:`StreamingQuery`
+            An active query with `id` from this SparkSession.
+
+        Notes
+        -----
+        Exception will be thrown if an active query with this id doesn't exist.

Review Comment:
   doesn't -> does not



##########
python/pyspark/sql/streaming/query.py:
##########
@@ -382,10 +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.
+        with this id doesn't exist.

Review Comment:
   doesn't -> does not



-- 
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