You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Bing Li (JIRA)" <ji...@apache.org> on 2015/06/16 10:16:00 UTC

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

Bing Li created HIVE-11019:
------------------------------

             Summary: 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


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.3.4#6332)