You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Maxim Gekk (Jira)" <ji...@apache.org> on 2019/10/19 17:15:00 UTC

[jira] [Created] (SPARK-29520) Incorrect checking of negative intervals

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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org