You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Julien Le Dem (JIRA)" <ji...@apache.org> on 2010/07/02 08:11:51 UTC

[jira] Created: (PIG-1480) An object oriented Java API for Pig statements

An object oriented Java API for Pig statements
----------------------------------------------

                 Key: PIG-1480
                 URL: https://issues.apache.org/jira/browse/PIG-1480
             Project: Pig
          Issue Type: New Feature
            Reporter: Julien Le Dem


A java API for Pig statements would enable third party libraries to generate Pig scripts much easier than it is actually.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (PIG-1480) An object oriented Java API for Pig statements

Posted by "Julien Le Dem (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIG-1480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Julien Le Dem updated PIG-1480:
-------------------------------

    Attachment: java-api.zip

Here is an initial prototype of how the API looks like.
To compile and run, add pig-0.6.0-core.jar to the classpath.
see the example of usage in org.apache.pig.api.example.TransitiveClosure
Generated Pig scripts are dumped on stdout while executing them.

It is not complete and runs only in local mode but is meant only as an illustration.
The real implementation would create Pig operator objects instead of Pig latin statements.

> An object oriented Java API for Pig statements
> ----------------------------------------------
>
>                 Key: PIG-1480
>                 URL: https://issues.apache.org/jira/browse/PIG-1480
>             Project: Pig
>          Issue Type: New Feature
>            Reporter: Julien Le Dem
>         Attachments: java-api.zip
>
>
> A java API for Pig statements would enable third party libraries to generate Pig scripts much easier than it is actually.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.