You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Ratandeep Ratti (JIRA)" <ji...@apache.org> on 2015/03/05 19:55:38 UTC

[jira] [Commented] (PIG-4448) AvroMapWrapper leaks Avro data types when the map values are complex avro records

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

Ratandeep Ratti commented on PIG-4448:
--------------------------------------

I'm realizing that this is not the right way to fix this. This also breaks the AvroStorage tests. I'll look into it a little more deeply tomorrow

> AvroMapWrapper leaks Avro data types when the map values are complex avro records
> ---------------------------------------------------------------------------------
>
>                 Key: PIG-4448
>                 URL: https://issues.apache.org/jira/browse/PIG-4448
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.13.0
>            Reporter: Ratandeep Ratti
>            Assignee: Ratandeep Ratti
>             Fix For: 0.15.0
>
>         Attachments: avro_map_wrapper_fix.patch
>
>
> AvroMapWrapper does not convert value objects in it's inner map to Pig types when queried. This could lead to problems when the value object is a complex Avro type. 
> Attaching a preliminary patch. Please let me know if this is not the best way to fix it.



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