[ https://issues.apache.org/jira/browse/SPARK-1914?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14007033#comment-14007033 ]
Takuya Ueshin commented on SPARK-1914: -------------------------------------- Pull-requested: https://github.com/apache/spark/pull/861 > 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)