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

Alan Gates commented on PIG-2165:
---------------------------------

I like the idea of only passing the parameters from either the command line or 
the parameters file.  I don't see why the Python script should care about other 
parameters that will be Pig specific.  Whether those parameters are placed in 
global variables, in sys.argv, or in a separate dictionary (pig_argv?) I don't 
have an opinion on.

> Need a way to deal with params and param_file in embedded pig in python
> -----------------------------------------------------------------------
>
>                 Key: PIG-2165
>                 URL: https://issues.apache.org/jira/browse/PIG-2165
>             Project: Pig
>          Issue Type: Bug
>          Components: impl
>    Affects Versions: 0.9.0
>            Reporter: Supreeth
>             Fix For: 0.10
>
>
> I am using embedded pig in python and cannot pass param key value pairs to 
> the python script. The only way to pass params  seem to be by passing it in 
> the bind command.
> Is there a plan to have command line parameters to a pig embedded python 
> script? Similar needs for param_file and using the environment variables.
> Thanks
> Supreeth

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to