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

Support for providing parameters to python script

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.9.1, 0.10.0
    • 0.10.0, 0.11
    • None
    • None
    • Reviewed
    • Python script has access to command line arguments with sys.argv.

    Description

      If I have an embedded pig script in python, there is no way to get user passed parameters in the python script.
      Though PIG-2165 adds the capability of reading these params in the pig script, from python it is still not possible.
      It would be nice to have this feature if I have some sort of post processing happening in my python scrip based on the params.

      Attachments

        1. PIG-2548-1.patch
          5 kB
          Daniel Dai

        Issue Links

          Activity

            People

              daijy Daniel Dai
              vivekp Vivek Padmanabhan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: