Reynold Xin created SPARK-2209:
----------------------------------

             Summary: Cast shouldn't do null check twice
                 Key: SPARK-2209
                 URL: https://issues.apache.org/jira/browse/SPARK-2209
             Project: Spark
          Issue Type: Bug
          Components: SQL
    Affects Versions: 1.0.0
            Reporter: Reynold Xin
            Assignee: Reynold Xin
             Fix For: 1.0.1, 1.1.0


Cast does two null checks, one in eval and another one in the function returned 
by nullOrCast. It's best to get rid of the one in nullOrCast (since eval will 
be the more common code path).



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

Reply via email to