spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Apache Spark (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-7569) Improve error for binary expressions
Date Tue, 12 May 2015 18:41:05 GMT

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

Apache Spark commented on SPARK-7569:
-------------------------------------

User 'marmbrus' has created a pull request for this issue:
https://github.com/apache/spark/pull/6089

> 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: Michael Armbrust
>            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


Mime
View raw message