[ 
https://issues.apache.org/jira/browse/PIG-4445?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Anthony Hsu updated PIG-4445:
-----------------------------
    Attachment: PIG-4445.1.patch

> VALUELIST and VALUESET outputSchema does not match actual schema of data 
> returned when map value schema is complex
> ------------------------------------------------------------------------------------------------------------------
>
>                 Key: PIG-4445
>                 URL: https://issues.apache.org/jira/browse/PIG-4445
>             Project: Pig
>          Issue Type: Bug
>            Reporter: Anthony Hsu
>            Assignee: Anthony Hsu
>         Attachments: PIG-4445.1.patch
>
>
> This was caused by a bug in the fix for PIG-4432.
> To reproduce:
> {code:title=map_complex.txt}
> [a#(foo),b#(bar)]
> {code}
> {code:title=testValueListComplex.pig}
> a = load 'map_complex.txt' as (map[(chararray)]);
> b = foreach a generate VALUELIST($0);
> describe b;
> {code}
> Expected:
> {code}
> b: {{((val_0: chararray))}}
> {code}
> Actual:
> {code}
> b: {{(val_0: chararray)}}
> {code}



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

Reply via email to