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:31:38 UTC

[jira] [Updated] (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:all-tabpanel ]

Ratandeep Ratti updated PIG-4448:
---------------------------------
    Attachment: avro_map_wrapper_fix.patch

Fix with a simple testcase

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