You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Tyler Hobbs (JIRA)" <ji...@apache.org> on 2013/12/18 18:31:09 UTC

[jira] [Commented] (CASSANDRA-6395) Add the ability to query by TimeUUIDs with milisecond granularity

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

Tyler Hobbs commented on CASSANDRA-6395:
----------------------------------------

[~iamaleksey] it looks like the CQL version didn't get bumped for this change.  The CQL3 language doc also needs to be updated to show the new format options.

> Add the ability to query by TimeUUIDs with milisecond granularity
> -----------------------------------------------------------------
>
>                 Key: CASSANDRA-6395
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6395
>             Project: Cassandra
>          Issue Type: New Feature
>            Reporter: Lorcan Coyle
>            Assignee: Lorcan Coyle
>            Priority: Minor
>              Labels: lhf
>             Fix For: 2.0.4
>
>
> Currently it is impossible to query for dates with the minTimeuuid and maxTimeuuid functions with sub-second accuracy from cqlsh because the parser doesn't recognise dates formatted at that granularity (e.g., 2013-09-30 22:19:06.591). By adding the following ISO8601 patterns to TimestampSerializer this functionality is unlocked:
> "yyyy-MM-dd HH:mm:ss.SSS",
> "yyyy-MM-dd HH:mm:ss.SSSZ",
> "yyyy-MM-dd'T'HH:mm:ss.SSS",
> "yyyy-MM-dd'T'HH:mm:ss.SSSZ".
> I submitted this as a pull-request on the github mirror (https://github.com/apache/cassandra/pull/23), which I'll close now. I'll submit a patch to address this here.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)