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 20:58:00 UTC

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

Jacob Tolar created PIG-5411:
--------------------------------

             Summary: 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


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)