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

Jonathan Ellis updated CASSANDRA-2233:
--------------------------------------

    Attachment: 2233.txt

rebased and changed testCompare to only care about version 1 results, and 
validate against TimeUUIDType, but I'm getting a failure:

{noformat}
    [junit] Testcase: 
testCompare(org.apache.cassandra.db.marshal.UUIDTypeTest):        FAILED
    [junit] expected:<-1> but was:<-23>
    [junit] junit.framework.AssertionFailedError: expected:<-1> but was:<-23>
    [junit]     at 
org.apache.cassandra.db.marshal.UUIDTypeTest.testCompare(UUIDTypeTest.java:155)
    [junit]     at 
org.apache.cassandra.db.marshal.UUIDTypeTest.testCompare(UUIDTypeTest.java:30)

{noformat}


> Add unified UUIDType
> --------------------
>
>                 Key: CASSANDRA-2233
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2233
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 0.7.3
>            Reporter: Ed Anuff
>            Priority: Minor
>         Attachments: 2233.txt, UUIDType.java, UUIDTypeTest.java
>
>
> Unified UUIDType comparator, compares as time-based if both UUIDs are 
> time-based, otherwise uses byte comparison.  Based on code from the current 
> LexicalUUIDType and TimeUUIDType comparers, so performance and behavior 
> should be consistent and compatible.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to