Uploaded image for project: 'Pig'
  1. Pig
  2. PIG-3134

Allow support for hot-pluggable Script Engines for running embedded Pig

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • impl
    • None

    Description

      Currently, you can embed Pig in Python, Ruby, Groovy, and Javascript. However you are unable to specify a custom Scripting Engine that deals with Pig embedded in something else.

      To solve this, Pig can either have a command-line option that specifies which scripting engine to use for running the provided file, or support should be added for something like the following syntax on the first line of a file:
      #@ <FQCN of Script Engine>
      that forces Pig to use the specified Scripting Engine to read the file.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              cd-wood Connor Woodson
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: