I\'m using PigLatin to filter some records.
User1 8 NYC User1 9 NYC User1 7 LA User2 4 NYC User2 3 DC
The script should remove the
Pig provide DISTINCT command to select unique data. If you want use distinct on fields Use Distinct in foreach nested block.