Details
-
New Feature
-
Status: Resolved
-
Low
-
Resolution: Fixed
-
None
-
None
-
Clients
Description
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.
Attachments
Issue Links
- duplicates
-
CASSANDRA-7523 add date and time types
- Resolved