[
https://issues.apache.org/jira/browse/PIG-61?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12558855#action_12558855
]
Olga Natkovich commented on PIG-61:
-----------------------------------
+1
> User comparator does not work if the comapre function is not in pig.jar
> -----------------------------------------------------------------------
>
> Key: PIG-61
> URL: https://issues.apache.org/jira/browse/PIG-61
> Project: Pig
> Issue Type: Bug
> Reporter: Olga Natkovich
> Assignee: Alan Gates
> Attachments: pig61.patch
>
>
> From what I can tell, comparison function lookup does not interact with
> register command. Instead, it expects to find the function on the class path.
> The problem with that is that we don't ship jar that are not registered and
> the registered jars don't get placed in classpath on the server path. The
> solution should be to use the same way to instanciate the object as used for
> other udfs.
> Comparator: Class.forName
> Other UDFs: PigContext.resolveClassName
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.