srowen commented on a change in pull request #27525:
URL: https://github.com/apache/spark/pull/27525#discussion_r422679598



##########
File path: python/pyspark/streaming/dstream.py
##########
@@ -418,10 +418,12 @@ def slice(self, begin, end):
     def _validate_window_param(self, window, slide):
         duration = self._jdstream.dstream().slideDuration().milliseconds()
         if int(window * 1000) % duration != 0:
-            raise ValueError("windowDuration must be multiple of the slide 
duration (%d ms)"
+            raise ValueError("windowDuration must be multiple of the parent " \
+                             "dstream's slide (batch) duration (%d ms)"

Review comment:
       dstream -> DStream
   Please add [MINOR] to the title per 
https://spark.apache.org/contributing.html




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

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