You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Reynold Xin (JIRA)" <ji...@apache.org> on 2014/06/20 04:46:24 UTC
[jira] [Created] (SPARK-2209) Cast shouldn't do null check twice
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)