HeartSaVioR commented on code in PR #39647:
URL: https://github.com/apache/spark/pull/39647#discussion_r1080849192
##########
python/pyspark/streaming/context.py:
##########
@@ -61,6 +68,7 @@ def __init__(
batchDuration: Optional[int] = None,
jssc: Optional[JavaObject] = None,
):
+ warnings.warn("DStream is deprecated. Migrate to Structured
Streaming", FutureWarning)
Review Comment:
nit: Specify the version as it won't give the information of version
automatically. `DStream is deprecated as of Spark 3.4.0`.
--
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]