hadoop-pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yiwei Chen (JIRA)" <j...@apache.org>
Subject [jira] Created: (PIG-931) Samples Syntax Error in Pig UDF Manual
Date Tue, 25 Aug 2009 08:37:59 GMT
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
            Priority: Trivial

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.

View raw message