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

Dmitriy V. Ryaboy commented on PIG-1354:
----------------------------------------

I should mention that this patch applies to Pig 0.6 and 0.7 as well. 

I haven't tested with versions earlier than that, but theoretically there is no 
reason it wouldn't apply to all versions of Pig starting with 0.2. 

If someone wants this functionality and doesn't want to wait for 0.8, just 
change the package from pig.builtin to piggybank or equivalent, and go 
generically forth.

> UDFs for dynamic invocation of simple Java methods
> --------------------------------------------------
>
>                 Key: PIG-1354
>                 URL: https://issues.apache.org/jira/browse/PIG-1354
>             Project: Pig
>          Issue Type: New Feature
>    Affects Versions: 0.8.0
>            Reporter: Dmitriy V. Ryaboy
>            Assignee: Dmitriy V. Ryaboy
>             Fix For: 0.8.0
>
>         Attachments: PIG-1354.patch
>
>
> The need to create wrapper UDFs for simple Java functions creates unnecessary 
> work for Pig users, slows down the development process, and produces a lot of 
> trivial classes. We can use Java's reflection to allow invoking a number of 
> methods on the fly, dynamically, by creating a generic UDF to accomplish this.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to