Limit produces results in the wrong order
-----------------------------------------

                 Key: PIG-461
                 URL: https://issues.apache.org/jira/browse/PIG-461
             Project: Pig
          Issue Type: Bug
            Reporter: Olga Natkovich
            Assignee: Alan Gates


Script:

A = load 'studenttab200m' as (name, age, gpa);
B = filter A by age > 20;
C = group B by name;
D = foreach C generate group, COUNT(B) PARALLEL 16;
E = order D by $0 PARALLEL 16;
F = limit E 10;
--explain F;
dump F;

Output:

comes out not sorted on the name

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

Reply via email to