Github user raghavgautam commented on the issue:

    https://github.com/apache/spark/pull/22414
  
    The problem is that the error message that we start getting is:
    ```
    requirement failed: The window duration must be positive, but found: 
-1209600000000
    ```
    Where as the error that I would expect is:
    ```
    requirement failed: The window duration must be a positive integer, long or 
string literal, found: -2 week
    ```
    
    By looking at -1209600000000 it's not clear that source of problem is -2 
week.
    
    However it does simplify the code. If this is acceptable please commit your 
patch.


---

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

Reply via email to