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

[jira] Issue Comment Edited: (PIG-398) Expressions not allowed inside foreach

    [ https://issues.apache.org/jira/browse/PIG-398?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12628506#action_12628506 ] 

sms edited comment on PIG-398 at 9/4/08 3:51 PM:
-----------------------------------------------------------------

Updated patch (Pig-398_1.patch) after streaming was fixed as part of Pig-269.

Unit tests that still fail are:

    [junit] Running org.apache.pig.test.TestBuiltin
    [junit] Tests run: 23, Failures: 1, Errors: 2, Time elapsed: 14.622 sec
    [junit] Test org.apache.pig.test.TestBuiltin FAILED

    [junit] Running org.apache.pig.test.TestEvalPipeline
    [junit] Tests run: 10, Failures: 1, Errors: 0, Time elapsed: 353.427 sec
    [junit] Test org.apache.pig.test.TestEvalPipeline FAILED

    [junit] Running org.apache.pig.test.TestMRCompiler
    [junit] Tests run: 16, Failures: 1, Errors: 0, Time elapsed: 0.422 sec
    [junit] Test org.apache.pig.test.TestMRCompiler FAILED

      was (Author: sms):
    Updated patch after streaming was fixed as part of Pig-269.

Unit tests that still fail are:

    [junit] Running org.apache.pig.test.TestBuiltin
    [junit] Tests run: 23, Failures: 1, Errors: 2, Time elapsed: 14.622 sec
    [junit] Test org.apache.pig.test.TestBuiltin FAILED

    [junit] Running org.apache.pig.test.TestEvalPipeline
    [junit] Tests run: 10, Failures: 1, Errors: 0, Time elapsed: 353.427 sec
    [junit] Test org.apache.pig.test.TestEvalPipeline FAILED

    [junit] Running org.apache.pig.test.TestMRCompiler
    [junit] Tests run: 16, Failures: 1, Errors: 0, Time elapsed: 0.422 sec
    [junit] Test org.apache.pig.test.TestMRCompiler FAILED
  
> Expressions not allowed inside foreach
> --------------------------------------
>
>                 Key: PIG-398
>                 URL: https://issues.apache.org/jira/browse/PIG-398
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: types_branch
>            Reporter: Olga Natkovich
>            Assignee: Santhosh Srinivasan
>             Fix For: types_branch
>
>         Attachments: Pig-398.patch, Pig-398_1.patch
>
>
> The following used to work but no longer does:
> A = load 'data';
> B = group A by $0;
> C = foreach B{
>    D = MAX(A.$0)
>    generate D;
> }

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