[ 
https://issues.apache.org/jira/browse/HIVE-8224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14174791#comment-14174791
 ] 

Lefty Leverenz commented on HIVE-8224:
--------------------------------------

Doc note:  This should be documented in the AvroSerDe wikidoc.  It's not as 
simple as adding a version note in one place, because there are several CREATE 
TABLE examples that supposedly include all data types.

So consider changes to these sections:

* [AvroSerDe -- Avro to Hive type conversion | 
https://cwiki.apache.org/confluence/display/Hive/AvroSerDe#AvroSerDe-AvrotoHivetypeconversion]
* [AvroSerDe -- Creating Avro-backed Hive tables -- Hive 0.14 and later 
versions | 
https://cwiki.apache.org/confluence/display/Hive/AvroSerDe#AvroSerDe-Hive0.14andlaterversions]
 (if add char & varchar to the example, point out that they weren't included in 
the previous example for all Hive versions)
* [AvroSerDe -- Writing tables to Avro files -- Example | 
https://cwiki.apache.org/confluence/display/Hive/AvroSerDe#AvroSerDe-Example] 
("the following Hive table, which covers all types of Hive data types" needs to 
be rewritten)
* [AvroSerDe -- Writing tables to Avro files -- Hive 0.14 and later | 
https://cwiki.apache.org/confluence/display/Hive/AvroSerDe#AvroSerDe-Hive0.14andlater]
 (uses the same example as pre-0.14, so shouldn't include char & varchar but 
they could be mentioned here)

> Support Char, Varchar in AvroSerDe
> ----------------------------------
>
>                 Key: HIVE-8224
>                 URL: https://issues.apache.org/jira/browse/HIVE-8224
>             Project: Hive
>          Issue Type: Task
>          Components: Serializers/Deserializers
>            Reporter: Mohit Sabharwal
>            Assignee: Mohit Sabharwal
>              Labels: Avro
>             Fix For: 0.14.0
>
>         Attachments: HIVE-8224.1.patch, HIVE-8224.patch
>
>
> Both Char and Varchar represented as String primitive type in Avro. 
> Char is persisted without padding, if any.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to