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

Koji Noguchi commented on PIG-5411:
-----------------------------------

[~jtolar], unless your patch is long, you can simply attach the patch on this 
jira.

> Piggybank AvroStorage doesn't extract map value type
> ----------------------------------------------------
>
>                 Key: PIG-5411
>                 URL: https://issues.apache.org/jira/browse/PIG-5411
>             Project: Pig
>          Issue Type: Improvement
>            Reporter: Jacob Tolar
>            Priority: Major
>
> Piggybank's AvroStorage doesn't put the Avro map value type into the Pig 
> schema.The map value has unknown type (=> is treated as bytearray). 
>  
> Pig's schema interface understands the concept of a map value type. This 
> information should be made available when using Avro. 
>  
> Relevant bit of code: 
> [https://github.com/apache/pig/blob/59ec4a326079c9f937a052194405415b1e3a2b06/contrib/piggybank/java/src/main/java/org/apache/pig/piggybank/storage/avro/AvroSchema2Pig.java#L116-L121]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to