-Re: Pig script : Need help
Krishnan Narayanan 2014-04-07, 19:32
I am getting the desired result. What i did was I group by year but did not
use any aggregate function so that the output is a bag(tuples).
Now when I try to apply replace function for replacing the curly braces and
brackets so that it will look 2014,2013 but it gives me error can't cast
tuple to chararray.
Cannot cast tuple with schema
On Tue, Apr 1, 2014 at 5:47 PM, Ankit Bhatnagar <[EMAIL PROTECTED]>wrote: