You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2015/05/12 20:42:00 UTC

[jira] [Assigned] (SPARK-7569) Improve error for binary expressions

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

Apache Spark reassigned SPARK-7569:
-----------------------------------

    Assignee: Apache Spark  (was: Michael Armbrust)

> Improve error for binary expressions
> ------------------------------------
>
>                 Key: SPARK-7569
>                 URL: https://issues.apache.org/jira/browse/SPARK-7569
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>            Reporter: Michael Armbrust
>            Assignee: Apache Spark
>            Priority: Critical
>
> This is not a great error:
> {code}
> scala> Seq((1,1)).toDF("a", "b").select(lit(1) + new java.sql.Date(1)) 
> org.apache.spark.sql.AnalysisException: invalid expression (1 + 0) between Literal 1, IntegerType and Literal 0, DateType;
> {code}



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