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

Document using shell commands in Pig scripts

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 0.10.0
    • 0.12.0
    • None

    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

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

            Dates

              Created:
              Updated:
              Resolved: