cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anuya joshi <anu...@gmail.com>
Subject Re: Unable to add columns to empty row in Column family: Cassandra
Date Thu, 12 May 2011 00:36:42 GMT
Thanks Jaydeep.

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?

Thanks,
Anuya


On Mon, May 2, 2011 at 11:54 PM, chovatia jaydeep <
chovatia_jaydeep@yahoo.co.in> wrote:

> 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,
> Jaydeep
> ------------------------------
> *From:* chovatia jaydeep <chovatia_jaydeep@yahoo.co.in>
> *To:* "user@cassandra.apache.org" <user@cassandra.apache.org>
> *Sent:* Monday, 2 May 2011 11:52 PM
>
> *Subject:* Re: Unable to add columns to empty row in Column family:
> Cassandra
>
> Hi 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 <anucjs@gmail.com>
> *To:* user@cassandra.apache.org
> *Sent:* Monday, 2 May 2011 11:34 PM
> *Subject:* Re: Unable to add columns to empty row in Column family:
> Cassandra
>
> Hello,
>
> 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,
>
> Regards,
> Anuya
>
>
>
>
>

Mime
View raw message