Hello to everyone,

I have been experimenting with Pig 0.7 source code some time and have two
questions regarding command parsing in Pig.
I located two files in org.apache.pig.parser package named queryLexer.g and
queryParser.g, which, if I understood rightly, have the required antlr code
in order to parse commands in Pig.
The first question is if these two files are the only files that i must make
changes in order for pig to recognize (lexically and syntactically) a new
command.
The second question is whether these files, if altered, need to be
recompiled with antl in order to work (and what command is needed, if that
is the case).

Thank you in advance,

Nero.

Reply via email to