Pig
  1. Pig
  2. PIG-1480

An object oriented Java API for Pig statements

    Details

    • Type: New Feature New Feature
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

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

      1. java-api.zip
        12 kB
        Julien Le Dem

        Activity

        Hide
        Julien Le Dem added a comment -

        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.

        Show
        Julien Le Dem added a comment - 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.
        Hide
        Jonathan Coveney added a comment -

        I'd like to nominate this to GSoC... it's a little bit of a JIRA necromany, but I think it'd be fun to make and really useful. Thoughts?

        Show
        Jonathan Coveney added a comment - I'd like to nominate this to GSoC... it's a little bit of a JIRA necromany, but I think it'd be fun to make and really useful. Thoughts?

          People

          • Assignee:
            Unassigned
            Reporter:
            Julien Le Dem
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:

              Development