You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean Owen (JIRA)" <ji...@apache.org> on 2016/09/09 12:29:20 UTC

[jira] [Commented] (SPARK-17466) Error message is not very clear

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