I am trying to convert NaN into zeroes using Pig scripting as below but I keep getting an error message. Can someone share your thoughts on how to handle NaN's in PIG.Any insights would be appreciated. Thank you.
My input field xyz::abcd has NULL,NOT NULL,NaN values in it. Need to convert all NaN's to zeroes.
xyz::abcd <> 'NaN'
(part of my code)