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

Jeff Hammerbacher commented on HIVE-287:
----------------------------------------

We ran into some users who were using older versions of Hive (including the 
version of Hive distributed with CDH3b2) and were confused by the COUNT(*) in 
the documentation. I've tried to change the wiki but it does not appear to be 
saving my changes. If someone gets the chance, I'd love to see a disclaimer 
like "Note that for versions of Hive which don't include 
[[https://issues.apache.org/jira/browse/HIVE-287|HIVE-287]], you'll need to use 
COUNT(1) in place of COUNT(*)." added to the wiki pages that reference COUNT(*).

> support count(*) and count distinct on multiple columns
> -------------------------------------------------------
>
>                 Key: HIVE-287
>                 URL: https://issues.apache.org/jira/browse/HIVE-287
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.6.0
>            Reporter: Namit Jain
>            Assignee: Arvind Prabhakar
>             Fix For: 0.6.0, 0.7.0
>
>         Attachments: HIVE-287-1.patch, HIVE-287-2.patch, HIVE-287-3.patch, 
> HIVE-287-4.patch, HIVE-287-5-branch-0.6.patch, HIVE-287-5-trunk.patch, 
> HIVE-287-6-branch-0.6.patch, HIVE-287-6-trunk.patch
>
>
> The following query does not work:
> select count(distinct col1, col2) from Tbl

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

Reply via email to