hadoop-pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Olga Natkovich (JIRA)" <j...@apache.org>
Subject [jira] Created: (PIG-378) FOREACH followed by LIMIT produces wrong results
Date Thu, 14 Aug 2008 22:03:44 GMT
FOREACH followed by LIMIT produces wrong results

                 Key: PIG-378
                 URL: https://issues.apache.org/jira/browse/PIG-378
             Project: Pig
          Issue Type: Bug
    Affects Versions: types_branch
            Reporter: Olga Natkovich
            Priority: Critical
             Fix For: types_branch


grunt> A = load '/user/pig/tests/data/singlefile/studenttab10k' as (name, age, gpa);
grunt> B = foreach A generate name;
grunt> C = limit B 10;
grunt> dump C;


((luke king,65,0.73))
((fred miller,55,3.77))
((holly white,43,0.24))
((calvin brown,56,0.72))
((katie carson,25,3.65))
((holly davidson,57,2.43))
((holly davidson,59,1.26))
((luke steinbeck,51,1.14))
((nick underhill,31,2.46))
((ulysses thompson,64,1.90))

Note that we have a tuple with 3 fields within tuple

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

View raw message