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

Richard Ding resolved PIG-2058.
-------------------------------

      Resolution: Fixed
    Hadoop Flags: [Reviewed]

Patch committed to trunk and 0.9 branch.

> Macro missing returns clause doesn't give a good error message
> --------------------------------------------------------------
>
>                 Key: PIG-2058
>                 URL: https://issues.apache.org/jira/browse/PIG-2058
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.9.0
>            Reporter: Xuefu Zhang
>            Assignee: Richard Ding
>             Fix For: 0.9.0
>
>         Attachments: PIG-2058.patch
>
>
> For the following query:
> define test( out1,out2 ){
>    A  = load 'x' as (u:int, v:int);
>    $B  = filter A by u < 3 and v <  20;
> }
> Pig gives the following error message: Syntax error,unexpected symbol at or 
> near '{'
> Previously, it gives: mismatched input '{' expecting RETURNS
> The previous message is more meaningful.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to