[
https://issues.apache.org/jira/browse/PIG-2548?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13218696#comment-13218696
]
Huiming Li commented on PIG-2548:
---------------------------------
The proposed way of taking python parameters using sys.argv[] is the right way
to solve the issue.
Could somebody implement this?
Currently with python embedded pig, there is no way to get command line input
parameters and no way to set proper exit code (JIRA 2558/2559) . This looks
more like some kind of overall design issue.
> Support for providing parameters to python script
> -------------------------------------------------
>
> Key: PIG-2548
> URL: https://issues.apache.org/jira/browse/PIG-2548
> Project: Pig
> Issue Type: New Feature
> Affects Versions: 0.9.1, 0.10
> Reporter: Vivek Padmanabhan
>
> If I have an embedded pig script in python, there is no way to get user
> passed parameters in the python script.
> Though PIG-2165 adds the capability of reading these params in the pig
> script, from python it is still not possible.
> It would be nice to have this feature if I have some sort of post processing
> happening in my python scrip based on the params.
--
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