cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Hseu (JIRA)" <j...@apache.org>
Subject [jira] Created: (CASSANDRA-647) get_range_slice() returns removed columns
Date Sat, 19 Dec 2009 18:22:18 GMT
get_range_slice() returns removed columns
-----------------------------------------

                 Key: CASSANDRA-647
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-647
             Project: Cassandra
          Issue Type: Bug
    Affects Versions: 0.5
         Environment: Linux
            Reporter: Jonathan Hseu


Here's an example (using my soon-to-be-released python lib):

In [1]: import cdra
In [2]: test = cdra.ColumnFamily(cdra.connect(), 'VoteRank', 'Test')
In [3]: test.get_range_slice()
Out[3]: []
In [4]: test.insert('key', 'column', 'value')
In [5]: test.get_range_slice()
Out[5]: [('key', {'column': 'value'})]
In [6]: test.remove('key', 'column')
In [7]: test.get_range_slice()
Out[7]: [('key', {'column': 'K-\x19['})]
In [8]: test.get_slice('key')
Out[8]: {}

Also, get() returns a NotFoundException as expected.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message