A = load 'input';
B = group A all;
C = foreach B generate COUNT(A);
dump C;

Santhosh 

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Edward
J. Yoon
Sent: Thursday, April 02, 2009 11:15 PM
To: [email protected]
Subject: Count lines of text

Hi,

I'd like to simply count lines of text using pig. Does anyone have
advice for me?

Thanks.
-- 
Best Regards, Edward J. Yoon
[email protected]
http://blog.udanax.org

Reply via email to