HyukjinKwon commented on code in PR #37587:
URL: https://github.com/apache/spark/pull/37587#discussion_r950966866
##########
python/pyspark/sql/streaming/query.py:
##########
@@ -189,6 +226,11 @@ def recentProgress(self) -> List[Dict[str, Any]]:
The number of progress updates retained for each stream is configured
by Spark session
configuration `spark.sql.streaming.numRecentProgressUpdates`.
+ Returns
+ -------
+ str or dict or list
+ An array of the most recent :class:`StreamingQueryProgress`
updates for this query.
Review Comment:
Should probably mention that return a dictionary instead of
`StreamingQueryProgress` instance.
--
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]