cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benedict (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-7523) add date and time types
Date Mon, 22 Sep 2014 18:48:34 GMT

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

Benedict commented on CASSANDRA-7523:
-------------------------------------

To clarify, all we are doing is defining dates as an unsigned integer, with the epoch being
the _minimum_ representable date as opposed to the _middle_. This means any language without
unsigned integer support has to do some minor fiddling, but this is not particularly obtuse
for writing a network client, and I wouldn't call it foisting internal treament of dates upon
the drivers in any unreasonable way.

> 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)

Mime
View raw message