-Re: Pig Latin compiler
Thejas M Nair 2011-03-11, 19:59
You can work off either the antlr AST or the logical plan created from the antlr AST . If you use the logical plan, you can also use pig's logical validation and optimizer rules.
You can have a look at the functions in PigServer.Graph such as parseQuery(), compile() .
Right now, there are no public API's that expose this. So they can change in future.
On 3/10/11 11:59 PM, "varun srivastava" <[EMAIL PROTECTED]> wrote:
I want to develop my own constructs below PIG Latin language. I would like to take PIG Latin code and run my own Java classes to execute the functions instead of running Hadoop. Can somehow get DAG or any other construct created by PIG Latin interpretor ?