当我删除Cassandra中的行时,我只删除列而不是行键 [英] When I remove rows in Cassandra I delete only columns not row keys
本文介绍了当我删除Cassandra中的行时,我只删除列而不是行键的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如果我使用 remove(key)
删除Cassandra db中ColumnFamily中的每个键,那么如果我使用 get_range_slices
,行仍然存在,但没有列。
If I delete every keys in a ColumnFamily in a Cassandra db using remove(key)
, then if I use get_range_slices
, rows are still there but without columns. How could I remove entire rows?
推荐答案
刚刚遇到同样的问题,我发现:
Just been having the same issue and I found that:
这已在0.7
中修复( https ://issues.apache.org/jira/browse/CASSANDRA-1027 )。
并返回到0.6.3
This has been fixed in 0.7 (https://issues.apache.org/jira/browse/CASSANDRA-1027). And backported to 0.6.3
这也是相关的:
https://issues.apache.org/jira/browse/CASSANDRA-494
这篇关于当我删除Cassandra中的行时,我只删除列而不是行键的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文