Re: Deleting a column vs setting it's value to empty

2012-02-14 Thread R. Verlangen
<< Setting to "" may cause you less headaches as you won't have to deal with tombstones >> You won't have to deal with tombstones manually, the Thrift API will take care of this. Deleting an empty column value will always be better; with one exception, when "empty" does actually mean something e

Re: Deleting a column vs setting it's value to empty

2012-02-10 Thread Narendra Sharma
IMO deleting is always better. It is better to not store the column if there is no value associated. -Naren On Fri, Feb 10, 2012 at 12:15 PM, Drew Kutcharian wrote: > Hi Everyone, > > Let's say I have the following object which I would like to save in > Cassandra: > > class User { > UUID id; /

Re: Deleting a column vs setting it's value to empty

2012-02-10 Thread Jeremiah Jordan
Either one works fine. Setting to "" may cause you less headaches as you won't have to deal with tombstones. Deleting a non existent column is fine. -Jeremiah On 02/10/2012 02:15 PM, Drew Kutcharian wrote: Hi Everyone, Let's say I have the following object which I would like to save in Cas

Deleting a column vs setting it's value to empty

2012-02-10 Thread Drew Kutcharian
Hi Everyone, Let's say I have the following object which I would like to save in Cassandra: class User { UUID id; //row key String name; //columnKey: "name", columnValue: the name of the user String description; //columnKey: "description", columnValue: the description of the user } Descri