[
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 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'})]
was:
Here's an example (using my new python library at
http://github.com/vomjom/pycasso ):
>>> 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 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'})]
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.