kykrueger opened a new pull request #27525: update dstream.py with more 
accurate exceptions
URL: https://github.com/apache/spark/pull/27525
 
 
   
   
   ### What changes were proposed in this pull request?
   
   The exception messages for dstream.py when using windows were improved to be 
specific about what sliding duration is important.
   
   
   ### Why are the changes needed?
   
   The batch interval of dstreams are improperly named as sliding windows. The 
term sliding window is also used to reference the new window of a dstream 
collected over a window of rdds in a parent dstream. We should probably fix the 
naming convention of sliding window used in the dstream class, but for now more 
this more explicit exception message may reduce confusion.
   
   
   ### Does this PR introduce any user-facing change?
   No
   
   
   ### How was this patch tested?
   It wasn't since this is only a change of the exception message
   

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


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to