WweiL commented on code in PR #40691:
URL: https://github.com/apache/spark/pull/40691#discussion_r1162081978


##########
python/pyspark/sql/streaming/readwriter.py:
##########
@@ -89,8 +92,8 @@ def format(self, source: str) -> "DataStreamReader":
 
         Examples
         --------
-        >>> spark.readStream.format("text")
-        <pyspark.sql.streaming.readwriter.DataStreamReader object ...>
+        >>> spark.readStream.format("text") # doctest: +ELLIPSIS

Review Comment:
   Actually maybe it doesn't hurt to put them there..? We already have this 
flag set, e.g.:  
https://github.com/apache/spark/blob/master/python/pyspark/sql/streaming/query.py#L222



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