I have loaded data using below statement , which was successful-
a = load 'data.txt' using PigStorage (' ');
Next I tried to execute the below statementb = group a by $3;
Here I am getting this error : ERROR 1066: Unable to open iterator for alias b.
I am running pig in ocal mode .
Can anyone please guide me to resolve this .