cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Fisk...@littleshoot.org>
Subject Re: insert and batch_insert should update?
Date Fri, 22 Jan 2010 02:07:33 GMT
Great - thanks. And if I don't specify any timestamp, for example with
batch_insert, it'll always use the current timestamp, which should
always be newer, correct?

Unless of course I manually set some crazy timestamp in the future,
but I'm not doing that.

Thanks very much.

-Adam


On Thu, Jan 21, 2010 at 6:02 PM, Eric Evans <eevans@rackspace.com> wrote:
> On Thu, 2010-01-21 at 17:56 -0800, Adam Fisk wrote:
>> I just wanted to make sure that a second insert of the same key and
>> the same Column/SuperColumn name should completely overwrite any
>> existing data there, correct? I'm seeing odd behavior there and just
>> wanted to verify what's expected.
>
> Provided that the second write uses a higher timestamp, yes.
>
> --
> Eric Evans
> eevans@rackspace.com
>
>



-- 
Adam Fisk
http://www.littleshoot.org | http://adamfisk.wordpress.com |
http://twitter.com/adamfisk

Mime
View raw message