You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Olga Natkovich (JIRA)" <ji...@apache.org> on 2008/06/12 01:50:45 UTC

[jira] Commented: (PIG-245) Need wrapper UDFs for all java.lang.Math functions

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

Olga Natkovich commented on PIG-245:
------------------------------------

I have created the repository. For me to add this functions to it, I need the new patch that addresses the exception issue listed above. Ajay, could you please, post the new one.

> Need wrapper UDFs for all java.lang.Math functions
> --------------------------------------------------
>
>                 Key: PIG-245
>                 URL: https://issues.apache.org/jira/browse/PIG-245
>             Project: Pig
>          Issue Type: New Feature
>            Reporter: Shravan Matthur Narayanamurthy
>            Assignee: Shravan Matthur Narayanamurthy
>            Priority: Minor
>         Attachments: mathudfs.zip
>
>
> Attached is the code for all the wrapper UDFs for the math functions with unit tests. One exception is the random() function which does not take any argument. Since Pig doesn't support zero argument udfs,  the current code takes a dummy argument which is not used in the call to java.lang.Math.random().

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