[
https://issues.apache.org/jira/browse/CASSANDRA-7523?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14143647#comment-14143647
]
Joshua McKenzie commented on CASSANDRA-7523:
--------------------------------------------
The current implementation retains the same range of dates as the previous, 4
bytes worth of days with epoch at the center. Before, the center was 0 on a
signed integer, and now epoch is shifted by Integer.MIN_VALUE so we can treat
the data type as unsigned for purposes of comparability.
I'd prefer we have a date range that extends beyond epoch as our minimum
representable date.
> add date and time types
> -----------------------
>
> Key: CASSANDRA-7523
> URL: https://issues.apache.org/jira/browse/CASSANDRA-7523
> Project: Cassandra
> Issue Type: New Feature
> Components: API
> Reporter: Jonathan Ellis
> Assignee: Joshua McKenzie
> Priority: Minor
> Fix For: 2.1.1, 3.0
>
>
> http://www.postgresql.org/docs/9.1/static/datatype-datetime.html
> (we already have timestamp; interval is out of scope for now, and see
> CASSANDRA-6350 for discussion on timestamp-with-time-zone. but date/time
> should be pretty easy to add.)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)