[ 
https://issues.apache.org/jira/browse/SPARK-17466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15476954#comment-15476954
 ] 

Sean Owen commented on SPARK-17466:
-----------------------------------

What would you suggest? I think the error is fairly clear if you understand 
what the windowing keywords mean. You are asking for unbounded preceding but 
are limited to 1 preceding.

> Error message is not very clear
> -------------------------------
>
>                 Key: SPARK-17466
>                 URL: https://issues.apache.org/jira/browse/SPARK-17466
>             Project: Spark
>          Issue Type: Improvement
>            Reporter: Tim Chan
>            Priority: Trivial
>
>  User class threw exception: org.apache.spark.sql.AnalysisException: Window 
> Frame RANGE BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW must match the 
> required frame ROWS BETWEEN 1 PRECEDING AND 1 PRECEDING;
> The same Spark SQL that throws this exception in EMR 5.0.0 works just fine in 
> Databricks using Spark 2.0.0/Scala 2.11. I don't even understand what the 
> error means. 



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