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