You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by "B. Todd Burruss" <bb...@real.com> on 2010/05/13 23:08:15 UTC
batch mutate + deletion + slice range predicate unsupported
i just figured out that can't do a batch mutate + deletion that uses a
slice range predicate. is adding this functionality targeted for a
particular release? what i am trying to do is delete the first X
columns in a row. i can get around it by requesting all the columns in
question and then removing, but not as optimal.
InvalidRequestException(why:Deletion does not yet support SliceRange
predicates.)
at
org.apache.cassandra.thrift.Cassandra$batch_mutate_result.read(Cassandra.java:15345)
at
org.apache.cassandra.thrift.Cassandra$Client.recv_batch_mutate(Cassandra.java:796)
at
org.apache.cassandra.thrift.Cassandra$Client.batch_mutate(Cassandra.java:772)
Re: batch mutate + deletion + slice range predicate unsupported
Posted by "B. Todd Burruss" <bb...@real.com>.
thx
On 05/13/2010 02:12 PM, Gary Dusbabek wrote:
> Yes--0.7. I aim to make it part of
> https://issues.apache.org/jira/browse/CASSANDRA-494 (remove_slice).
>
> Gary.
>
> On Thu, May 13, 2010 at 16:08, B. Todd Burruss<bb...@real.com> wrote:
>
>> i just figured out that can't do a batch mutate + deletion that uses a slice
>> range predicate. is adding this functionality targeted for a particular
>> release? what i am trying to do is delete the first X columns in a row. i
>> can get around it by requesting all the columns in question and then
>> removing, but not as optimal.
>>
>> InvalidRequestException(why:Deletion does not yet support SliceRange
>> predicates.)
>> at
>> org.apache.cassandra.thrift.Cassandra$batch_mutate_result.read(Cassandra.java:15345)
>> at
>> org.apache.cassandra.thrift.Cassandra$Client.recv_batch_mutate(Cassandra.java:796)
>> at
>> org.apache.cassandra.thrift.Cassandra$Client.batch_mutate(Cassandra.java:772)
>>
>>
>>
Re: batch mutate + deletion + slice range predicate unsupported
Posted by Gary Dusbabek <gd...@gmail.com>.
Yes--0.7. I aim to make it part of
https://issues.apache.org/jira/browse/CASSANDRA-494 (remove_slice).
Gary.
On Thu, May 13, 2010 at 16:08, B. Todd Burruss <bb...@real.com> wrote:
> i just figured out that can't do a batch mutate + deletion that uses a slice
> range predicate. is adding this functionality targeted for a particular
> release? what i am trying to do is delete the first X columns in a row. i
> can get around it by requesting all the columns in question and then
> removing, but not as optimal.
>
> InvalidRequestException(why:Deletion does not yet support SliceRange
> predicates.)
> at
> org.apache.cassandra.thrift.Cassandra$batch_mutate_result.read(Cassandra.java:15345)
> at
> org.apache.cassandra.thrift.Cassandra$Client.recv_batch_mutate(Cassandra.java:796)
> at
> org.apache.cassandra.thrift.Cassandra$Client.batch_mutate(Cassandra.java:772)
>
>