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 2016/07/26 02:16:20 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=15393064#comment-15393064 ] 

Apache Spark commented on SPARK-16729:
--------------------------------------

User 'petermaxlee' has created a pull request for this issue:
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
>
> 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