pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Prashant Kommireddi (JIRA)" <j...@apache.org>
Subject [jira] [Created] (PIG-3180) Document using shell commands in Pig scripts
Date Mon, 11 Feb 2013 18:41:13 GMT
Prashant Kommireddi created PIG-3180:
----------------------------------------

             Summary: Document using shell commands in Pig scripts
                 Key: PIG-3180
                 URL: https://issues.apache.org/jira/browse/PIG-3180
             Project: Pig
          Issue Type: Improvement
    Affects Versions: 0.10.0
            Reporter: Prashant Kommireddi
             Fix For: 0.12


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.

{code}
%default HOME `echo \$HOME`
{code}

This feature is very useful and should be documented. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message