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



##########
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 " \

Review comment:
       Looks like the `\` causes style checks to fail:
   ```
   ./python/pyspark/streaming/dstream.py:421:79: E502 the backslash is 
redundant between brackets
   ./python/pyspark/streaming/dstream.py:425:78: E502 the backslash is 
redundant between brackets
   ```




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