[
https://issues.apache.org/jira/browse/PIG-1354?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12857943#action_12857943
]
Dmitriy V. Ryaboy commented on PIG-1354:
----------------------------------------
Ashutosh, nice brainstorm, but I think that if you are to the point of
actually writing java, you should write java. In a proper IDE. With
highlighting, intellisense, javadoc lookup, and all those other awesome bells
and whistles. Plus, reusable code and all that.
To Alan's earlier point -- I think it would be valuable to allow bags
(transformed into arrays) as arguments. That opens up a large set of
statistical functions from Apache Commons, for example. Wouldn't work for
giant bags that don't fit into memory, but nice for smaller groups.
> 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, PIG-1354.patch, 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.
-
If you think it was sent incorrectly contact one of the administrators:
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira