I have a pig job where in I need to filter the data by finding a word in it,
Here is the snippet
A = LOAD \'/home/user/filename\' USING PigStorage(\',\')
MATCHES uses regular expressions. You should do ... MATCHES '.*WORD.*' instead.
MATCHES
... MATCHES '.*WORD.*'
These is an example here finding the word 'apache'.