You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Daniel Dai (Resolved) (JIRA)" <ji...@apache.org> on 2012/03/03 03:19:57 UTC
[jira] [Resolved] (PIG-2548) Support for providing parameters to
python script
[ https://issues.apache.org/jira/browse/PIG-2548?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Dai resolved PIG-2548.
-----------------------------
Resolution: Fixed
Release Note: Python script has access to command line arguments with sys.argv.
Hadoop Flags: Reviewed
Unit test pass. test-patch:
[exec] -1 overall.
[exec]
[exec] +1 @author. The patch does not contain any @author tags.
[exec]
[exec] +1 tests included. The patch appears to include 6 new or modified tests.
[exec]
[exec] -1 javadoc. The javadoc tool appears to have generated 1 warning messages.
[exec]
[exec] +1 javac. The applied patch does not increase the total number of javac compiler warnings.
[exec]
[exec] +1 findbugs. The patch does not introduce any new Findbugs warnings.
[exec]
[exec] -1 release audit. The applied patch generated 535 release audit warnings (more than the trunk's current 532 warnings).
javadoc and release audit warning is unrelated.
Patch committed to 0.10/trunk.
> 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
> Assignee: Daniel Dai
> Fix For: 0.10, 0.11
>
> Attachments: PIG-2548-1.patch
>
>
> 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