Thanks Jeff! The thing is that I wanted to see the exact moment when pig was
converting the query into the operators, but as you said, it would be better
if I see other parts of the code. I will have to reproduce mentally how
gruntParser uses PigScriptParser.parse :)
Do you know when this technology switch will happen? I read it was going to
be in 0.9, but that is july or august of the next year? Will there be code
restructuring due to this?
Thanks in advance.


Renato M.


2010/12/7 Jeff Zhang <[email protected]>

> The javacc template will be compiled to java files in folder src-gen
> You can refer classes under this folder for more details. And Pig is
> moving from Javacc to ANTLR, so these code will be replaced in future.
>
> So I suggest you look at other parts of pig if you want to know the
> internals of pig.
> The following are basic steps of How pig convert from pig-latin to
> mapreduce jobs on hadoop
>
> PigLatin-->LogicalPlan-->Optimized
> LogicalPlan-->PhysicalPlan-->MapReducePlan-->JobControl of Hadoop -->
> ExecutionEngine-->Hadoop
>
>
>
> On Mon, Dec 6, 2010 at 1:30 PM, Renato Marroquín Mogrovejo
> <[email protected]> wrote:
> > I am trying to debug pig's code, but I can't go into the javacc template
> > files, specifically into the QueryParser class which makes it harder to
> > follow the code. Does anybody know how I could do this? Any type of
> > suggestions are highly appreciated.
> > Thanks in advance.
> >
> > Renato M.
> >
>
>
>
> --
> Best Regards
>
> Jeff Zhang
>

Reply via email to