cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Todd Nine (JIRA)" <j...@apache.org>
Subject [jira] Created: (CASSANDRA-2179) Secondary indexing of columns with duplicate values does not return all row keys
Date Thu, 17 Feb 2011 04:52:24 GMT
Secondary indexing of columns with duplicate values does not return all row keys
--------------------------------------------------------------------------------

                 Key: CASSANDRA-2179
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2179
             Project: Cassandra
          Issue Type: Bug
          Components: Core
    Affects Versions: 0.7.1
         Environment: Java 1.6 64 bit Ubuntu
            Reporter: Todd Nine


Create a CF test with a column "value" and "holder".  Create an index on the Value column
of type UTF8 and a Keys index.  Insert the following values into the cf

new UUID():{ value: "test", holder: 0x00}
new UUID():{ value: "test", holder: 0x00}
new UUID():{ value: "test", holder: 0x00}

Query the secondary index where value EQ "test" and select column "holder"

You should be returned 3 rows.  Instead you are returned one.  It seems that the last row
written with the column value is the only row that is returned when the column value contains
duplicates.  I'll attempt to create a python client test that demonstrates the issue.

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

        

Mime
View raw message