Created 04-24-2018 12:21 PM
Please help me with a pig script to count the lines in a file
Created 04-24-2018 12:52 PM
Hi @vivekananda chagam
Once the file is read from directory use
FOREACH (GROUP data ALL) GENERATE COUNT(data);