HeartSaVioR commented on code in PR #39647: URL: https://github.com/apache/spark/pull/39647#discussion_r1080854136
########## python/pyspark/streaming/context.py: ########## @@ -61,6 +68,7 @@ def __init__( batchDuration: Optional[int] = None, jssc: Optional[JavaObject] = None, ): + warnings.warn("DStream is deprecated as of Spark 3.4.0. Migrate to Structured Streaming", FutureWarning) Review Comment: nit: `.` in last sentence. apply to all other short note. -- 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: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org