[ 
https://issues.apache.org/jira/browse/PIG-931?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Corinne Chandel resolved PIG-931.
---------------------------------

    Resolution: Fixed

Fixed as part of Pig 080 beta-1 (see pig-1600 for patch).

> Samples Syntax Error in Pig UDF Manual
> --------------------------------------
>
>                 Key: PIG-931
>                 URL: https://issues.apache.org/jira/browse/PIG-931
>             Project: Pig
>          Issue Type: Improvement
>          Components: documentation
>    Affects Versions: 0.2.0, 0.3.0
>         Environment: Windows XP, firefox 3.5.2
>            Reporter: Yiwei Chen
>            Assignee: Corinne Chandel
>            Priority: Trivial
>             Fix For: 0.8.0
>
>
> All samples with 'extends EvalFunc' have syntax errors in 
> http://hadoop.apache.org/pig/docs/r0.3.0/udf.html .
> There shouldn't be parentheses; they are angle brackets.
> For example in "How to Write a Simple Eval Function" section:
>   public class UPPER extends EvalFunc (String)
> should be 
>   public class UPPER extends EvalFunc<String>

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