[ 
https://issues.apache.org/jira/browse/PIG-4432?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14334294#comment-14334294
 ] 

Anthony Hsu commented on PIG-4432:
----------------------------------

I have a fix; will upload a patch shortly.

> Built-in VALUELIST UDF does not preserve the schema when the map value type 
> is a complex type
> ---------------------------------------------------------------------------------------------
>
>                 Key: PIG-4432
>                 URL: https://issues.apache.org/jira/browse/PIG-4432
>             Project: Pig
>          Issue Type: Bug
>            Reporter: Anthony Hsu
>
> To reproduce:
> {code:title=testValueList.txt}
> ['a'#('foo')]
> ['b'#('bar')]
> {code}
> {code:title=testValueList.pig}
> a = load 'testValueList.txt' as (map[(chararray)]);
> b = foreach a generate VALUELIST($0);
> describe b;
> {code}
> Run the Pig script:
> {code}
> pig testValueList.pig
> {code}
> Expected:
> {code}
> b: {{(val_0: chararray)}}
> {code}
> Actual:
> {code}
> b: {{()}}
> {code}



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

Reply via email to