Daniel Dai created PIG-4170:
-------------------------------

             Summary: Multiquery with different type of key gives wrong result
                 Key: PIG-4170
                 URL: https://issues.apache.org/jira/browse/PIG-4170
             Project: Pig
          Issue Type: Bug
          Components: impl
    Affects Versions: 0.13.0
            Reporter: Daniel Dai
            Assignee: Daniel Dai
             Fix For: 0.14.0


The following script produce wrong result:
{code}
A = load '1.txt' as (i:int, s:chararray);
B = group A by i;
C = group A by s;
store B into 'ooo1';
store C into 'ooo2';
{code}
1.txt:
{code}
1       h
1       a
{code}
Expected: 
{code}
ooo1:
1       {(1,a),(1,h)}
ooo2:
a       {(1,a)}
h       {(1,h)}
{code}
Actual:
{code}
ooo1:
1       {((1),a),((1),h)}
ooo2:
a       {(1,(a))}
h       {(1,(h))}
{code}
This happens after PIG-3591.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to