[
https://issues.apache.org/jira/browse/PIG-1238?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12847474#action_12847474
]
Richard Ding commented on PIG-1238:
-----------------------------------
Hi Ankur,
I run following script
{code}
A = LOAD '1.txt' USING PigStorage();
B = FOREACH A GENERATE ['a'#'12'] as b:map[], ['b'#['c'#'12']] as mapFields;
C = FOREACH B GENERATE(CHARARRAY) mapFields#'b'#'c' AS f1, RANDOM() AS f2;
D = ORDER C BY f2 PARALLEL 10;
E = LIMIT D 20;
F = FOREACH E GENERATE f1;
dump F;
{code}
and it gets the correct result. Can you sync again with the trunk and let me
know if the problem still exists?
> Dump does not respect the schema
> --------------------------------
>
> Key: PIG-1238
> URL: https://issues.apache.org/jira/browse/PIG-1238
> Project: Pig
> Issue Type: Bug
> Affects Versions: 0.6.0
> Reporter: Ankur
> Assignee: Richard Ding
> Fix For: 0.7.0
>
> Attachments: PIG-1238.patch
>
>
> For complex data type and certain sequence of operations dump produces
> results with non-existent field in the relation.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.