Run a group by year field Then do whatever u want to do
On 4/1/14 5:45 PM, "Krishnan Narayanan" <krishnan.sm...@gmail.com> wrote: >Hi All, > >Using Pig how can I achieve the below mentioned output from the input. > >Input > >year , 2000 >year , 2001 >year , 2002 > >OutPut > >year 2000|2001|2002 ( in one row). > >Thanks >Krishnan