Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Pig, mail # user - Count of all the rows


Copy link to this message
-
Re: Count of all the rows
Alan Gates 2012-08-29, 23:03
A = load 'foo';
B = group A all;
C = foreach B generate COUNT(A);

Alan.
On Aug 29, 2012, at 3:51 PM, Mohit Anchlia wrote:

> How do I get count of all the rows? All the examples of COUNT use group by.