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

Sean Busbey updated HIVE-3538:
------------------------------

    Attachment: HIVE-3538.tests.txt

Attaching tests to show what I'm talking about. Note that this is not a 
solution patch, just some unit tests.
                
> Avro SerDe can't handle Nullable Enums
> --------------------------------------
>
>                 Key: HIVE-3538
>                 URL: https://issues.apache.org/jira/browse/HIVE-3538
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Sean Busbey
>         Attachments: HIVE-3538.tests.txt
>
>
> If a field has a schema that unions NULL with an enum, Avro fails to resolve 
> the union because Avro SerDe doesn't restore "enumness".
> Since the enum datum is a String, avro internals check the union for a string 
> schema, which is not present.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to