avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AVRO-1683) Add microsecond-precision time and timestamp logical type specs
Date Fri, 26 Jun 2015 05:41:04 GMT

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

ASF subversion and git services commented on AVRO-1683:
-------------------------------------------------------

Commit 1687673 from [~blue@cloudera.com] in branch 'avro/trunk'
[ https://svn.apache.org/r1687673 ]

AVRO-1683: Add microsecond-precision time type specs.

> Add microsecond-precision time and timestamp logical type specs
> ---------------------------------------------------------------
>
>                 Key: AVRO-1683
>                 URL: https://issues.apache.org/jira/browse/AVRO-1683
>             Project: Avro
>          Issue Type: Improvement
>          Components: spec
>            Reporter: Ryan Blue
>            Assignee: Ryan Blue
>         Attachments: AVRO-1683-1.patch
>
>
> SQL engines that store data in Avro need to be able to store times and timestamps to
meet the SQL spec. For portability, those values should be labelled so other readers can work
with the data. I propose adding two new logical types:
> * time-micros: annotates a long, represents the number of microseconds from midnight.
> * timestamp-micros: annotates a long, represents the number of microseconds from the
unix epoch.
> Like the other time types, these representations match the ones that were just added
to Parquet (PARQUET-200) to make implementations easier.



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

Mime
View raw message