[ 
https://issues.apache.org/jira/browse/PIG-2584?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13228833#comment-13228833
 ] 

Daniel Dai commented on PIG-2584:
---------------------------------

Oh yes, we cannot use $1, $2, maybe $argv[1], $argv[2]?
                
> Command line arguments for Pig script
> -------------------------------------
>
>                 Key: PIG-2584
>                 URL: https://issues.apache.org/jira/browse/PIG-2584
>             Project: Pig
>          Issue Type: Improvement
>          Components: impl
>            Reporter: Daniel Dai
>            Priority: Minor
>             Fix For: 0.11
>
>
> We did that for Jython embeded script. It is also useful in Pig script itself:
> command line: pig a.pig student.txt output
> a.pig:
> a = load '$1' as (a0, a1);
> store a into '$2';

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to