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] Updated: (CASSANDRA-647) get_range_slice() returns removed columns
Date Thu, 24 Dec 2009 20:36:29 GMT

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

Jonathan Hseu updated CASSANDRA-647:
------------------------------------

    Description: 
Here's an example (using my new python library at http://github.com/vomjom/pycassa ):

>>> import pycassa
>>> test = pycassa.ColumnFamily(pycassa.connect(), 'Test Keyspace', 'Test UTF8')
>>> list(test.get_range())
[]
>>> test.insert('key', {'column': 'value'})
1261512409
>>> list(test.get_range())
[('key', {'column': 'value'})]
>>> test.remove('key', 'column')
1261512421
>>> list(test.get_range())
[('key', {'column': 'K0\xd2\x85'})]


  was:
Here's an example (using my new python library at http://github.com/vomjom/pycassa ):

>>> import pycasso
>>> test = pycasso.ColumnFamily(pycasso.connect(), 'Test Keyspace', 'Test UTF8')
>>> list(test.get_range())
[]
>>> test.insert('key', {'column': 'value'})
1261512409
>>> list(test.get_range())
[('key', {'column': 'value'})]
>>> test.remove('key', 'column')
1261512421
>>> list(test.get_range())
[('key', {'column': 'K0\xd2\x85'})]



> get_range_slice() returns removed columns
> -----------------------------------------
>
>                 Key: CASSANDRA-647
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-647
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.5
>         Environment: Linux
>            Reporter: Jonathan Hseu
>
> Here's an example (using my new python library at http://github.com/vomjom/pycassa ):
> >>> import pycassa
> >>> test = pycassa.ColumnFamily(pycassa.connect(), 'Test Keyspace', 'Test UTF8')
> >>> list(test.get_range())
> []
> >>> test.insert('key', {'column': 'value'})
> 1261512409
> >>> list(test.get_range())
> [('key', {'column': 'value'})]
> >>> test.remove('key', 'column')
> 1261512421
> >>> list(test.get_range())
> [('key', {'column': 'K0\xd2\x85'})]

-- 
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