[
https://issues.apache.org/jira/browse/PIG-4933?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15348808#comment-15348808
]
Daniel Dai commented on PIG-4933:
---------------------------------
The statement doesn't mean to cast to bytearray, it means don't cast. We shall
remove the bytearray cast. Also if the cast is unnecessary (the original type
is the same as the cast), we shall remove the cast.
> TestDataBagAccess.testBagConstantFlatten1/TestLogicalPlanBuilder.testQuery90
> 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)