You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Wenchen Fan (JIRA)" <ji...@apache.org> on 2016/07/27 08:06:20 UTC

[jira] [Resolved] (SPARK-16729) Spark should throw analysis exception for invalid casts to date type

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

Wenchen Fan resolved SPARK-16729.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 2.1.0

Issue resolved by pull request 14358
[https://github.com/apache/spark/pull/14358]

> Spark should throw analysis exception for invalid casts to date type
> --------------------------------------------------------------------
>
>                 Key: SPARK-16729
>                 URL: https://issues.apache.org/jira/browse/SPARK-16729
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>            Reporter: Peter Lee
>            Assignee: Peter Lee
>             Fix For: 2.1.0
>
>
> Spark currently throws exceptions for invalid casts for all other data types except date type. Somehow date type returns null. It should be consistent and throws analysis exception as well.



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