You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Joseph Adler (JIRA)" <ji...@apache.org> on 2013/10/17 22:30:50 UTC

[jira] [Updated] (PIG-3526) Unions with Enums do not work with AvroStorage

     [ https://issues.apache.org/jira/browse/PIG-3526?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joseph Adler updated PIG-3526:
------------------------------

    Attachment: PIG-3526.patch

Patch for this issue.

> Unions with Enums do not work with AvroStorage
> ----------------------------------------------
>
>                 Key: PIG-3526
>                 URL: https://issues.apache.org/jira/browse/PIG-3526
>             Project: Pig
>          Issue Type: Bug
>          Components: internal-udfs
>    Affects Versions: 0.12.0
>            Reporter: Joseph Adler
>             Fix For: 0.12.1
>
>         Attachments: PIG-3526.patch
>
>
> If you have an input schema with unions of enum types and nulls, AvroStorage can't read the data correctly. This patch will translate the enums to strings so that Pig can process them.
> (Sorry for the short description and lack of a unit test; ran into this issue while working on a deadline for another project.) 



--
This message was sent by Atlassian JIRA
(v6.1#6144)