hadoop-pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pi Song (JIRA)" <j...@apache.org>
Subject [jira] Commented: (PIG-245) Need wrapper UDFs for all java.lang.Math functions
Date Tue, 17 Jun 2008 14:51:44 GMT

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

Pi Song commented on PIG-245:
-----------------------------

I'm not sure about what exception should be thrown from UDFs. This would affect the way we
handle it. The outcome could be 1) skip the record 2) stop the whole process. 

Alan, please clarify.

> 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: MathUDF.patch, 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.


Mime
View raw message