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

Takuya Ueshin commented on SPARK-1608:
--------------------------------------

Pull-requested: https://github.com/apache/spark/pull/532

> Cast.nullable should be true when cast from StringType to 
> NumericType/TimestampType
> -----------------------------------------------------------------------------------
>
>                 Key: SPARK-1608
>                 URL: https://issues.apache.org/jira/browse/SPARK-1608
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>            Reporter: Takuya Ueshin
>
> Cast.nullable should be true when cast from StringType to NumericType or 
> TimestampType.
> Because if StringType expression has an illegal number string or illegal 
> timestamp string, the casted value becomes null.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to