You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Rohini Palaniswamy (JIRA)" <ji...@apache.org> on 2016/04/26 01:38:14 UTC

[jira] [Updated] (PIG-2247) Pig parser does not detect multiple arguments with the same name passed to macro

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

Rohini Palaniswamy updated PIG-2247:
------------------------------------
    Fix Version/s:     (was: 0.16.0)
                   0.17.0

> Pig parser does not detect multiple arguments with the same name passed to macro
> --------------------------------------------------------------------------------
>
>                 Key: PIG-2247
>                 URL: https://issues.apache.org/jira/browse/PIG-2247
>             Project: Pig
>          Issue Type: Bug
>          Components: parser
>    Affects Versions: 0.9.0
>            Reporter: Alan Gates
>            Assignee: Johnny Zhang
>            Priority: Minor
>             Fix For: 0.17.0
>
>         Attachments: PIG-2247.patch.txt
>
>
> Pig accepts a macro like
> {code}
> define simple_macro(in_relation, min_gpa, min_gpa) returns c {
>                           b = filter $in_relation by gpa >= $min_gpa;
>                           $c = foreach b generate age, name;
> {code}
> This should produce an error.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)