[ 
https://issues.apache.org/jira/browse/TAJO-994?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14086051#comment-14086051
 ] 

ASF GitHub Bot commented on TAJO-994:
-------------------------------------

GitHub user hyunsik opened a pull request:

    https://github.com/apache/tajo/pull/106

    TAJO-994: 'count(distinct x)' function counts first null value.

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/hyunsik/tajo TAJO-994

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/tajo/pull/106.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #106
    
----
commit 2466c4a22133cc2cd495e5fc8c7126caf7586cc7
Author: Hyunsik Choi <[email protected]>
Date:   2014-08-05T09:50:58Z

    TAJO-994: 'count(distinct x)' function counts first null value.

----


> 'count(distinct x)' function counts first null value.
> -----------------------------------------------------
>
>                 Key: TAJO-994
>                 URL: https://issues.apache.org/jira/browse/TAJO-994
>             Project: Tajo
>          Issue Type: Bug
>          Components: function/udf
>            Reporter: Hyunsik Choi
>            Assignee: Hyunsik Choi
>             Fix For: 0.9.0
>
>
> The current count distinct function counts the first null value. Consider the 
> following example column. The current count distinct function will count them 
> as 4 instead of 3. We should fix it.
> {noformat}
> \N
> A
> B
> B
> C
> {noformat}



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

Reply via email to