GitHub user lorcan opened a pull request:

    https://github.com/apache/cassandra/pull/23

    Added patterns to cover ISO8601 dates with miliseconds.

    Currently it is impossible to query for dates with sub-second accuracy from 
cqlsh because the parser doesn't recognise dates formatted like `2013-09-30 
22:19:06.591`. This pull request adds the following four ISO8601 patterns:
    ````
    "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",
    ````
    This change also allows the minTimeuuid/maxTimeuuid functions to take dates 
with milisecond granularity. 

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/lorcan/cassandra milisecondISOFormat

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cassandra/pull/23.patch

----
commit 5e66cbdb18bcc29226eaf0dc2cd981cdac611a1f
Author: Lorcan Coyle <lor...@gmail.com>
Date:   2013-11-21T19:46:22Z

    Added patterns to cover ISO8601 dates with miliseconds.
    
    Without this it is impossible for the minTimeuuid/maxTimeuuid functions
    to take dates with miliseconds.

----

Reply via email to