pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Koji Noguchi (JIRA)" <j...@apache.org>
Subject [jira] [Created] (PIG-4933) TestDataBagAccess.testBagConstantFlatten1 broken after PIG-2315
Date Wed, 22 Jun 2016 17:12:57 GMT
Koji Noguchi created PIG-4933:
---------------------------------

             Summary: TestDataBagAccess.testBagConstantFlatten1 broken after PIG-2315
                 Key: PIG-4933
                 URL: https://issues.apache.org/jira/browse/PIG-4933
             Project: Pig
          Issue Type: Bug
            Reporter: Koji Noguchi


{code:title=test.pig}
A = load '1line.txt';
B = foreach A generate {(('p1-t1-e1', 'p1-t1-e2'),('p1-t2-e1', 'p1-t2-e2')),(('p2-t1-e1',
'p2-t1-e2'), ('p2-t2-e1', 'p2-t2-e2'))};
C = foreach B generate $0 as pairbag : { pair: ( t1: (e1, e2), t2: (e1, e2) ) };
DUMP C;
{code}

Above results in empty '()'



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

Mime
View raw message