[ 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to