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

Search Discussions

  • Santhosh Srinivasan (JIRA) at Sep 30, 2008 at 12:56 am
    [ 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.
  • Santhosh Srinivasan (JIRA) at Sep 30, 2008 at 12:58 am
    [ 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.
  • Olga Natkovich (JIRA) at Sep 30, 2008 at 8:58 pm
    [ 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.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupdev @
categoriespig, hadoop
postedSep 18, '08 at 5:15p
activeSep 30, '08 at 8:58p
posts4
users1
websitepig.apache.org

1 user in discussion

Olga Natkovich (JIRA): 4 posts

People

Translate

site design / logo © 2022 Grokbase