hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raghotham Murthy (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HIVE-391) udafcount merge does not handle nulls
Date Tue, 07 Apr 2009 02:08:12 GMT

    [ https://issues.apache.org/jira/browse/HIVE-391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12696341#action_12696341
] 

Raghotham Murthy commented on HIVE-391:
---------------------------------------

+1 

looks good. Will commit if the tests pass.

> udafcount merge does not handle nulls
> -------------------------------------
>
>                 Key: HIVE-391
>                 URL: https://issues.apache.org/jira/browse/HIVE-391
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.3.0
>            Reporter: Namit Jain
>            Assignee: Namit Jain
>            Priority: Blocker
>         Attachments: hive.391.1.patch, hive.391.2.patch
>
>
> udafcount merge does not handle nulls
> If the mapper does not emit any row on null input, i.e both count and count distinct
are present, and the aggregation function is count, 
> it will get a null pointer
> select count(1), count(distinct x.value) from src x where x.key = 9999;

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message