[ 
https://issues.apache.org/jira/browse/SPARK-16837?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sean Owen resolved SPARK-16837.
-------------------------------
       Resolution: Fixed
    Fix Version/s: 2.1.0
                   2.0.1

Issue resolved by pull request 14441
[https://github.com/apache/spark/pull/14441]

> TimeWindow incorrectly drops slideDuration in constructors
> ----------------------------------------------------------
>
>                 Key: SPARK-16837
>                 URL: https://issues.apache.org/jira/browse/SPARK-16837
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.0.0
>            Reporter: Tom Magrino
>             Fix For: 2.0.1, 2.1.0
>
>
> Right now, the constructors for the TimeWindow expression in Catalyst 
> incorrectly uses the windowDuration in place of the slideDuration.  This will 
> cause incorrect windowing semantics after time window expressions are 
> analyzed by Catalyst.
> Relevant code is here: 
> https://github.com/apache/spark/blob/branch-2.0/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/TimeWindow.scala#L29-L54



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to