[ https://issues.apache.org/jira/browse/HIVE-11019?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16071516#comment-16071516 ]
Bing Li commented on HIVE-11019: -------------------------------- It could work on branch-2.3. Closed it. hive> create table avro_union(union1 uniontype<FLOAT, BOOLEAN, STRING>)STORED AS AVRO; OK Time taken: 2.04 seconds hive> describe avro_union; OK union1 uniontype<float,boolean,string> Time taken: 0.165 seconds, Fetched: 1 row(s) > 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)