Maxim Gekk created SPARK-29520:
----------------------------------

             Summary: Incorrect checking of negative intervals
                 Key: SPARK-29520
                 URL: https://issues.apache.org/jira/browse/SPARK-29520
             Project: Spark
          Issue Type: Bug
          Components: Structured Streaming
    Affects Versions: 2.4.4
            Reporter: Maxim Gekk


An interval is negative when its duration is negative. The following code 
checks interval incorrectly:
* 
https://github.com/apache/spark/blob/f302c2ee6203de36e966fcc58917af4847dff7f2/sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/GroupStateImpl.scala#L163
* 
https://github.com/apache/spark/blob/d841b33ba3a9b0504597dbccd4b0d11fa810abf3/sql/core/src/main/scala/org/apache/spark/sql/Dataset.scala#L734



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to