You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Alan Gates (JIRA)" <ji...@apache.org> on 2008/01/15 01:52:34 UTC

[jira] Resolved: (PIG-61) User comparator does not work if the comapre function is not in pig.jar

     [ https://issues.apache.org/jira/browse/PIG-61?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alan Gates resolved PIG-61.
---------------------------

       Resolution: Fixed
    Fix Version/s: 0.1.0

Patch checked in.

> 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
>             Fix For: 0.1.0
>
>         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.