You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Jacob Tolar (Jira)" <ji...@apache.org> on 2021/08/13 21:01:00 UTC

[jira] [Commented] (PIG-5411) Piggybank AvroStorage doesn't extract map value type

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

Jacob Tolar commented on PIG-5411:
----------------------------------

[~olga] / [~rohini], I have a patch for this issue. Is ReviewBoard still the right place to put it?

> 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)