You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Dongjoon Hyun (Jira)" <ji...@apache.org> on 2020/03/29 02:03:00 UTC

[jira] [Updated] (SPARK-30734) AnalysisException that window RangeFrame not match RowFrame

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

Dongjoon Hyun updated SPARK-30734:
----------------------------------
    Affects Version/s:     (was: 3.0.0)
                       3.1.0

> AnalysisException that window RangeFrame not match RowFrame
> -----------------------------------------------------------
>
>                 Key: SPARK-30734
>                 URL: https://issues.apache.org/jira/browse/SPARK-30734
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 3.1.0
>            Reporter: jiaan.geng
>            Priority: Major
>
>  
>  
> {code:java}
> select last(salary) over(order by salary range between 1000 preceding and 1000 following),
> lag(salary) over(order by salary range between 1000 preceding and 1000 following),
> salary from empsalary
> org.apache.spark.sql.AnalysisException
> Window Frame specifiedwindowframe(RangeFrame, -1000, 1000) must match the required frame specifiedwindowframe(RowFrame, -1, -1);
> {code}
>  
> Maybe we need to fix this issue.



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