You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Adam Holmberg (JIRA)" <ji...@apache.org> on 2014/12/18 00:06:14 UTC

[jira] [Updated] (CASSANDRA-7536) High resolution types for timestamp and time

     [ https://issues.apache.org/jira/browse/CASSANDRA-7536?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adam Holmberg updated CASSANDRA-7536:
-------------------------------------
    Labels: client-impacting  (was: )

> High resolution types for timestamp and time
> --------------------------------------------
>
>                 Key: CASSANDRA-7536
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7536
>             Project: Cassandra
>          Issue Type: New Feature
>            Reporter: Robert Stupp
>            Priority: Minor
>              Labels: client-impacting
>
> CASSANDRA-7523 adds support for _date_ and _time_ data types using the same precision as current _timestamp_ type.
> This ticket is about to add high resolution (nanosecond precision) types for timestamp and time. It should be easy to use with Joda API and Java 8 {{java.time}} API.
> Additionally support for time zone / offset (might need be handled differently) could be introduced using new time and timestamp types.
> Idea for binary serialization format (from java.time API):
> {{(int)year (short)month (short)day (byte)hour (byte)minute (byte)second (int)nano (int)offsetInSeconds}}
> Additional thinking is required to make even the time zone / offset types comparable (even for different TZ offsets) - so these might not be covered by this ticket.



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