cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sylvain Lebresne (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CASSANDRA-7367) add cql function to create timeuuid from date
Date Fri, 08 Aug 2014 13:42:13 GMT

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

Sylvain Lebresne resolved CASSANDRA-7367.
-----------------------------------------

    Resolution: Won't Fix

I stand by my objection above, and since there has been no objection to my objection, closing
as won't fix.

> add cql function to create timeuuid from date
> ---------------------------------------------
>
>                 Key: CASSANDRA-7367
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7367
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Dave Brosius
>            Assignee: Dave Brosius
>            Priority: Trivial
>              Labels: cql
>             Fix For: 3.0
>
>         Attachments: 7367.txt
>
>
> creating timeuuids in cql is unwieldy. Adding a toTimeuuid() function to convert a date/time
to a time uuid.
> ie, 
> create table foo (key timeuuid primary key, value text);
> insert into foo (key, value) values (toTimeuuid('2009-12-16 19:26:29-0500'), 'hello');



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message