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

Document using shell commands in Pig scripts

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 0.10.0
    • Fix Version/s: 0.12.0
    • Component/s: None
    • Labels:

      Description

      This recently came up on the mailing list
      http://mail-archives.apache.org/mod_mbox/pig-user/201302.mbox/%3CCANSvDjrerbmRbTwkpb1B9Es%3DaaN-6kGyw8nwCSNenhnhNo%2BbjA%40mail.gmail.com%3E

      Shell commands can be used in pig scripts, for eg to set HOME directory.

      %default HOME `echo \$HOME`
      

      This feature is very useful and should be documented.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              prkommireddi Prashant Kommireddi
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: