[
https://issues.apache.org/jira/browse/PIG-2317?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13126226#comment-13126226
]
Jonathan Coveney commented on PIG-2317:
---------------------------------------
Woops, formatting got whacked.
{code}
schema "str:chararray"
def hello_world
"hello world"
end
schema "word:chararray,num:long"
def complex(word)
[word,word.length]
end
{code}
{code}
def hello_world
"hello world"
end
def complex(word)
[word,word.length]
end
schema :hello_world, "str:chararray"
schema :complex, "word:chararray,num:long"
{code}
> 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: Jacob Perkins
> Priority: Minor
> Fix For: 0.9.2
>
> Attachments: jruby_scripting.patch
>
>
> 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