cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Stupp (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-7536) High resolution types for timestamp and time
Date Fri, 11 Jul 2014 18:00:13 GMT
Robert Stupp created CASSANDRA-7536:
---------------------------------------

             Summary: 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


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.2#6252)

Mime
View raw message