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

Support for providing parameters to python script

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.9.1, 0.10.0
    • Fix Version/s: 0.10.0, 0.11
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed
    • Release Note:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: