You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Alan Gates (JIRA)" <ji...@apache.org> on 2009/06/02 02:07:07 UTC
[jira] Commented: (PIG-753) Provide support for UDFs without
parameters
[ https://issues.apache.org/jira/browse/PIG-753?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12715312#action_12715312 ]
Alan Gates commented on PIG-753:
--------------------------------
The patch should include a unit tests that to test whether a pig script will parse with a udf that has no parameters, and whether the backend will properly execute a udf that takes no parameters.
> Provide support for UDFs without parameters
> -------------------------------------------
>
> Key: PIG-753
> URL: https://issues.apache.org/jira/browse/PIG-753
> Project: Pig
> Issue Type: Improvement
> Affects Versions: 0.3.0
> Reporter: Jeff Zhang
> Fix For: 0.3.0
>
> Attachments: Pig_753_Patch.txt
>
>
> Pig do not support UDF without parameters, it force me provide a parameter.
> like the following statement:
> B = FOREACH A GENERATE bagGenerator(); this will generate error. I have to provide a parameter like following
> B = FOREACH A GENERATE bagGenerator($0);
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.