You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Bing Li (JIRA)" <ji...@apache.org> on 2017/07/02 09:16:03 UTC

[jira] [Resolved] (HIVE-11019) Can't create an Avro table with uniontype column correctly

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

Bing Li resolved HIVE-11019.
----------------------------
    Resolution: Resolved

> Can't create an Avro table with uniontype column correctly
> ----------------------------------------------------------
>
>                 Key: HIVE-11019
>                 URL: https://issues.apache.org/jira/browse/HIVE-11019
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 1.2.0
>            Reporter: Bing Li
>            Assignee: Bing Li
>
> I tried the example in https://cwiki.apache.org/confluence/display/Hive/AvroSerDe
> And found that it can't create an AVRO table correctly with uniontype
> hive> create table avro_union(union1 uniontype<FLOAT, BOOLEAN, STRING>)STORED AS AVRO;
> OK
> Time taken: 0.083 seconds
> hive> describe avro_union;
> OK
> union1                  uniontype<void,float,boolean,string>                    
> Time taken: 0.058 seconds, Fetched: 1 row(s)



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)