jiaan.geng created SPARK-30734:
----------------------------------

             Summary: 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.0.0
            Reporter: jiaan.geng


 

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

Reply via email to