You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Cyril Auburtin <cy...@gmail.com> on 2012/08/09 17:43:50 UTC

Thrift batch_mutate erase previous data?

Hello
It seems the Thrift method *batch-mutate*, with Mutations, will not update
the previous data with the mutation given, but clear and replace by it?
right?

thanks for answers

How could I do if I have more than one field to update, I should send
several thrft *insert*?

Re: Thrift batch_mutate erase previous data?

Posted by Cyril Auburtin <cy...@gmail.com>.
no right it's ok, it was a bug on my side

2012/8/11 Tyler Hobbs <ty...@datastax.com>

>
>
> On Thu, Aug 9, 2012 at 10:43 AM, Cyril Auburtin <cy...@gmail.com>wrote:
>
>> It seems the Thrift method *batch-mutate*, with Mutations, will not
>> update the previous data with the mutation given, but clear and replace by
>> it? right?
>>
>
> I'm not sure what you're asking.  Writes in Cassandra are always blind
> overwrites, there's not a concept of clearing or replacing.
>
> --
> Tyler Hobbs
> DataStax <http://datastax.com/>
>
>

Re: Thrift batch_mutate erase previous data?

Posted by Tyler Hobbs <ty...@datastax.com>.
On Thu, Aug 9, 2012 at 10:43 AM, Cyril Auburtin <cy...@gmail.com>wrote:

> It seems the Thrift method *batch-mutate*, with Mutations, will not
> update the previous data with the mutation given, but clear and replace by
> it? right?
>

I'm not sure what you're asking.  Writes in Cassandra are always blind
overwrites, there's not a concept of clearing or replacing.

-- 
Tyler Hobbs
DataStax <http://datastax.com/>