[
https://issues.apache.org/jira/browse/PIG-832?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12721550#action_12721550
]
Milind Bhandarkar commented on PIG-832:
---------------------------------------
Daniel,
Pig streaming already uses backquotes for executing external programs. So,
users are familiar with this syntax. I believe an ordinary pig user already
knows about doing such things in unix shells. But anyway, as Olga said, she is
looking for requirements, and not solutions, so, here is a requirement:
I have two jars: xyz.jar, and abc.jar. I am using two UDFs in my scripts. I
want to use function1 from xyz.jar, and function2 from abc.jar. How do I use
function2 from abc.jar with full confidence that xyz.jar does not contain a UDF
named function2? How do you propose I do that without modifying a whole bunch
of pig scripts that I am testing for my functions ?
In the solution that I proposed, I can just change function2 mapping by
including "-Dimport.list=function2:com.yahoo.milind.function2" on the
command-line.
> Make import list configurable
> -----------------------------
>
> Key: PIG-832
> URL: https://issues.apache.org/jira/browse/PIG-832
> Project: Pig
> Issue Type: Improvement
> Affects Versions: 0.2.0
> Reporter: Olga Natkovich
> Assignee: Daniel Dai
> Fix For: 0.3.0
>
>
> Currently, it is hardwired in PigContext.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.