[
https://issues.apache.org/jira/browse/PIG-2584?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13228811#comment-13228811
]
Jonathan Coveney commented on PIG-2584:
---------------------------------------
Agree 400% that this is useful, though do we want to do $1, $2, etc? It is a
bit confusing given the $name syntax we also have... I guess we can just
distinguish between $number and $name.
> 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