[ 
https://issues.apache.org/jira/browse/SPARK-1914?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Takuya Ueshin updated SPARK-1914:
---------------------------------

    Description: 
{{CountFunction}} should count up only if the child's evaluated value is not 
null.

Because it traverses to evaluate all child expressions, even if the child is 
null, it counts up if one of the all children is not null.

> Simplify CountFunction not to traverse to evaluate all child expressions.
> -------------------------------------------------------------------------
>
>                 Key: SPARK-1914
>                 URL: https://issues.apache.org/jira/browse/SPARK-1914
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>            Reporter: Takuya Ueshin
>
> {{CountFunction}} should count up only if the child's evaluated value is not 
> null.
> Because it traverses to evaluate all child expressions, even if the child is 
> null, it counts up if one of the all children is not null.



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

Reply via email to