[
https://issues.apache.org/jira/browse/PIG-2317?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13244735#comment-13244735
]
Jonathan Coveney commented on PIG-2317:
---------------------------------------
PigudfService.java is what allows "require 'pigudf'" to work. Given that
pig.jar is on the classpath, when in JRuby you type "require x" it looks for
x.jar in the classpath, and will load everything. This makes it so that user
doesn't have to do "required 'long/path/to/pigudf.rb'"
> Ruby/Jruby UDFs
> ---------------
>
> Key: PIG-2317
> URL: https://issues.apache.org/jira/browse/PIG-2317
> Project: Pig
> Issue Type: New Feature
> Reporter: Jacob Perkins
> Assignee: Jonathan Coveney
> Priority: Minor
> Labels: 0.10_blocker
> Fix For: 0.10, 0.11
>
> Attachments: PIG-2317-10.patch, PIG-2317-10_plus.patch,
> PIG-2317-11.patch, PIG-2317-12.patch, PIG-2317-13.patch, PIG-2317-13.patch,
> PIG-2317-13.patch, PIG-2317-8.patch, PIG-2317-8_plus.patch, PIG-2317-9.patch,
> PIG-2317_13_0.10.patch, PIG-2317_14.patch, PIG-2317_14_0.10.patch, PigUdf.rb,
> PigUdf.rb, jruby_scripting.patch, jruby_scripting_2_real.patch,
> jruby_scripting_3.patch, jruby_scripting_4.patch, jruby_scripting_5.patch,
> jruby_scripting_6.patch, jruby_scripting_7.patch, pigjruby.rb, pigjruby.rb,
> pigjruby.rb, pigudf.rb, recursiveinclusion.tar.gz
>
>
> It should be possible to write UDFs in Ruby. These UDFs will be registered in
> the same way as python and javascript UDFs.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira