[
https://issues.apache.org/jira/browse/TAJO-994?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14092407#comment-14092407
]
Hudson commented on TAJO-994:
-----------------------------
SUCCESS: Integrated in Tajo-master-build #329 (See
[https://builds.apache.org/job/Tajo-master-build/329/])
TAJO-994: 'count(distinct x)' function counts first null value. (hyunsik: rev
fcc5da03ad1e9a692efad20aaf90a4005f9084d0)
*
tajo-core/src/test/resources/queries/TestGroupByQuery/testDistinctAggregationCaseByCase4.sql
* CHANGES
*
tajo-core/src/test/resources/queries/TestGroupByQuery/testDistinctAggregationCaseByCase3.sql
*
tajo-core/src/test/resources/results/TestGroupByQuery/testDistinctAggregationCaseByCase4.result
*
tajo-core/src/test/resources/results/TestGroupByQuery/testDistinctAggregationCaseByCase3.result
* tajo-core/src/test/java/org/apache/tajo/engine/query/TestGroupByQuery.java
*
tajo-core/src/main/java/org/apache/tajo/engine/function/builtin/CountValueDistinct.java
> '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)