Hello,

Is there any way to escape field names so that Pig do not throw an error
when field name is a reserved keyword ?

Here is my script:
A = LOAD 'logs.stream5' USING org.apache.hcatalog.pig.HCatLoader();
B = FILTER A BY lt>120;
DUMP B;

Pig throws an ERROR because "lt" is a reserved keyword.
It's annoying because I can't change this field name, and I don't really
want to use $15 because it will break on future schema changes.
Is there any magic syntax ?

Thanks for help.

Benoit

Reply via email to