On first insertion, I inserted data using Thrift API programmatically. So, I could specify the timestamp which is the current system time. However, for deleting the columns I used command line client that comes with Cassandra. I have no way to specify delete timestamp in command line client. so I dont know whats exactly delete timestamp.
Unless, I know whats delete stimestamp, I have no way to compare timestamps?
One small correction in my mail below.Second insertion time-stamp has to be greater than delete time-stamp in-order to retrieve the data.Thank you,JaydeepFrom: chovatia jaydeep <firstname.lastname@example.org>
To: "email@example.com" <firstname.lastname@example.org>
Sent: Monday, 2 May 2011 11:52 PM
Subject: Re: Unable to add columns to empty row in Column family: CassandraHi Anuya,> However, columns are not being inserted.
Do you mean to say that after insert operation you couldn't retrieve the same data? If so, then please check the time-stamp when you reinserted after delete operation. Your second insertion time-stamp has to be greater than the previous insertion.Thank you,Jaydeep
From: anuya joshi <email@example.com>
Sent: Monday, 2 May 2011 11:34 PM
Subject: Re: Unable to add columns to empty row in Column family: CassandraHello,
I am using Cassandra for my application.My Cassandra client uses Thrift APIs directly. The problem I am facing currently is as follows:
1) I added a row and columns in it dynamically via Thrift API Client
2) Next, I used command line client to delete row which actually deleted all the columns in it, leaving empty row with original row id.
3) Now, I am trying to add columns dynamically using client program into this empty row with same row key
However, columns are not being inserted.
But, when tried from command line client, it worked correctly.
Any pointer on this would be of great use
Thanks in advance,