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

Ashutosh Chauhan commented on PIG-928:
--------------------------------------

Arnab,

Thanks for putting together a patch for this. One question I have is about 
register Vs define. Currently you are auto-registering all the functions in the 
script file and then they are available for later use in script. But I am not 
sure how we will handle the case for inlined functions. For inline functions 
{{define}} seems to be a natural choice as noted in previous comments of the 
jira. And if so, then we need to modify define to support that use case. 
Wondering to remain consistent, we always use {{define}} to define <non-native> 
functions instead of auto registering them. I also didn't get why there will be 
need for separate interpreter instances in that case.


> UDFs in scripting languages
> ---------------------------
>
>                 Key: PIG-928
>                 URL: https://issues.apache.org/jira/browse/PIG-928
>             Project: Pig
>          Issue Type: New Feature
>            Reporter: Alan Gates
>             Fix For: 0.8.0
>
>         Attachments: calltrace.png, package.zip, pig-greek.tgz, 
> pig.scripting.patch.arnab, pyg.tgz, scripting.tgz, scripting.tgz, test.zip
>
>
> It should be possible to write UDFs in scripting languages such as python, 
> ruby, etc.  This frees users from needing to compile Java, generate a jar, 
> etc.  It also opens Pig to programmers who prefer scripting languages over 
> Java.

-- 
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