Pig
  1. Pig
  2. PIG-3180

Document using shell commands in Pig scripts

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major 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.

        Activity

        Prashant Kommireddi created issue -
        Daniel Dai made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Duplicate [ 3 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development