To delete all the columns for row send a Mutation where the Deletion has neither a super_column or predicate
I test, but throw the exception “A SlicePredicate must be given a list of Columns, a SliceRange, or both” Best Regards Donna li ________________________________ 发件人: aaron morton [mailto:aa...@thelastpickle.com] 发送时间: 2011年6月28日 12:30 收件人: user@cassandra.apache.org 主题: Re: remove all the columns of a key in a column family AFAIK that is still not supported. To delete all the columns for row send a Mutation where the Deletion has neither a super_column or predicate Cheers ----------------- Aaron Morton Freelance Cassandra Developer @aaronmorton http://www.thelastpickle.com On 28 Jun 2011, at 15:50, Donna Li wrote: Cassandra version is 0.7.2, when I use batch_mutate, the following exception throw “TException:Deletion does not yet support SliceRange predicates”, which version support delete the whole row of a key? Best Regards Donna li ________________________________ 发件人: Donna Li 发送时间: 2011年6月28日 10:59 收件人: user@cassandra.apache.org <mailto:user@cassandra.apache.org> 主题: remove all the columns of a key in a column family All: Can I remove all the columns of a key in a column family under the condition that not know what columns the column family has? Best Regards Donna li