You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Takuya Ueshin (JIRA)" <ji...@apache.org> on 2014/05/23 12:44:01 UTC

[jira] [Updated] (SPARK-1914) Simplify CountFunction not to traverse to evaluate all child expressions.

     [ 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)