Limit follow cross/union return wrong number of records
-------------------------------------------------------

                 Key: PIG-339
                 URL: https://issues.apache.org/jira/browse/PIG-339
             Project: Pig
          Issue Type: Bug
          Components: impl
    Affects Versions: types_branch
            Reporter: Daniel Dai
             Fix For: types_branch


The following script returns double records as expected:
a = load 'a';
b = load 'b';
c = union a, b;
d = cross a, b;
e = limit c 100;
f = limit d 100;
dump e;   // return double number of records
dump f;    // return double number of records

Seems to be the limit operator in reduce plan is not effective.

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