You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Olga Natkovich (JIRA)" <ji...@apache.org> on 2008/09/18 19:14:44 UTC

[jira] Created: (PIG-437) parser gets confused if "as" is used inside of expression

parser gets confused if "as" is used inside of expression
---------------------------------------------------------

                 Key: PIG-437
                 URL: https://issues.apache.org/jira/browse/PIG-437
             Project: Pig
          Issue Type: Bug
    Affects Versions: types_branch
            Reporter: Olga Natkovich
            Assignee: Santhosh Srinivasan
            Priority: Minor
             Fix For: types_branch


Script:

grunt> a = load 'foo' as (foo, fas);
grunt> b = group a by foo;
grunt> c = foreach b generate group, SUM(a.fas);
>>

Parser things that last line is incomplete.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (PIG-437) parser gets confused if "as" is used inside of expression

Posted by "Olga Natkovich (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIG-437?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olga Natkovich resolved PIG-437.
--------------------------------

    Resolution: Fixed

patch committed; thanks, santhosh

> parser gets confused if "as" is used inside of expression
> ---------------------------------------------------------
>
>                 Key: PIG-437
>                 URL: https://issues.apache.org/jira/browse/PIG-437
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: types_branch
>            Reporter: Olga Natkovich
>            Assignee: Santhosh Srinivasan
>            Priority: Minor
>             Fix For: types_branch
>
>         Attachments: PIG-437.patch
>
>
> Script:
> grunt> a = load 'foo' as (foo, fas);
> grunt> b = group a by foo;
> grunt> c = foreach b generate group, SUM(a.fas);
> >>
> Parser things that last line is incomplete.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (PIG-437) parser gets confused if "as" is used inside of expression

Posted by "Santhosh Srinivasan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIG-437?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Santhosh Srinivasan updated PIG-437:
------------------------------------

    Patch Info: [Patch Available]

> parser gets confused if "as" is used inside of expression
> ---------------------------------------------------------
>
>                 Key: PIG-437
>                 URL: https://issues.apache.org/jira/browse/PIG-437
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: types_branch
>            Reporter: Olga Natkovich
>            Assignee: Santhosh Srinivasan
>            Priority: Minor
>             Fix For: types_branch
>
>         Attachments: PIG-437.patch
>
>
> Script:
> grunt> a = load 'foo' as (foo, fas);
> grunt> b = group a by foo;
> grunt> c = foreach b generate group, SUM(a.fas);
> >>
> Parser things that last line is incomplete.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (PIG-437) parser gets confused if "as" is used inside of expression

Posted by "Santhosh Srinivasan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIG-437?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Santhosh Srinivasan updated PIG-437:
------------------------------------

    Attachment: PIG-437.patch

Attached patch that fixes the AS issue. It also fixes a similar problem with generate

> parser gets confused if "as" is used inside of expression
> ---------------------------------------------------------
>
>                 Key: PIG-437
>                 URL: https://issues.apache.org/jira/browse/PIG-437
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: types_branch
>            Reporter: Olga Natkovich
>            Assignee: Santhosh Srinivasan
>            Priority: Minor
>             Fix For: types_branch
>
>         Attachments: PIG-437.patch
>
>
> Script:
> grunt> a = load 'foo' as (foo, fas);
> grunt> b = group a by foo;
> grunt> c = foreach b generate group, SUM(a.fas);
> >>
> Parser things that last line is incomplete.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.