Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-20889

Support timestamp-micros in AvroSerDe

Log workAgile BoardRank to TopRank to BottomBulk Copy AttachmentsBulk Move AttachmentsAdd voteVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.1.0
    • None
    • None

    Description

      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. 

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned Assign to me
            vinisha vinisha

            Dates

              Created:
              Updated:

              Slack

                Issue deployment