hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bertrand Dechoux <decho...@gmail.com>
Subject Re: count(*) vs count(1) in hive
Date Wed, 15 Aug 2012 00:56:05 GMT
count(1) is the old one
count(*) is the new one

see https://issues.apache.org/jira/browse/HIVE-287

I guess when you can use the newer, you should use it.

Bertrand

On Tue, Aug 14, 2012 at 11:33 PM, Raihan Jamal <jamalraihan@gmail.com>wrote:

> Is there any difference between count(*) and count(1) in Hive. And which
> one should we use in general and why?
> Given that I am on Hive 0.6 version.
>
>
>
> *Raihan Jamal*
>



-- 
Bertrand Dechoux

Mime
View raw message