Here is my data file :
a,b,c,{(15,good),(24,total),(9,bad)}
a,b,d,{(2,bad),(6,good),(8,total)}
I tried following combinations but neither of then work :
r1 = load '/tmp/prasen/foo1.txt' using PigStorage(',') AS
(f1:chararray, f2:chararray,f3:chararray, B:
{T1:(i1:int,s1:chararray), T2:(i2:int,s2:chararray),
T3:(i3:int,s3:chararray) } );
r1 = load '/tmp/prasen/foo1.txt' using PigStorage(',') AS
(f1:chararray, f2:chararray,f3:chararray, B:
{T1:(i1:int,s1:chararray)} );
Any help is greatly appreciated ?