vinisha created HIVE-20889:
------------------------------

             Summary: Support timestamp-micros in AvroSerDe
                 Key: HIVE-20889
                 URL: https://issues.apache.org/jira/browse/HIVE-20889
             Project: Hive
          Issue Type: Improvement
          Components: Serializers/Deserializers
            Reporter: vinisha


This change only supports timestamp-millis. Avro 1.8.2 also supports 
timestamp-micros. 
[https://avro.apache.org/docs/1.8.2/spec.html#Timestamp+%28microsecond+precision%29]

timestamp-micros should also be supported in hive AvroSerde because hive 
timestamps support nano second level precision.

[https://cwiki.apache.org/confluence/display/Hive/LanguageManual+Types#LanguageManualTypes-TimestampstimestampTimestamps]

One possibility is to support avro timestamp-millis and avro timestamp-micros 
in serialization. Avro Deserializer can map hive timestamp to timestamp-micros. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to