cassandra-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremiah Jordan <>
Subject RE: Write Timestamps
Date Fri, 26 Oct 2012 16:10:44 GMT
Sorry, should have said, "If you do not provide one, the CQL layer on the server adds the timestamp",
unlike thrift where the timestamp is always client side.

Glad 1.1.6 fixed your issue.


From: Eric Evans []
Sent: Thursday, October 25, 2012 4:09 PM
Subject: Re: Write Timestamps

On Wed, Oct 24, 2012 at 9:13 PM, Jeremiah Jordan
<> wrote:
> How are you doing the write?  CQL or Thrift?  In thrift, the client specifies the timestamp,
and you should always be seeing that as the timestamp.  In CQL, the CQL layer on the server
adds the timestamp.

For the record, you can supply a timestamp with CQL, same as you can
with Thrift.  For example:

INSERT INTO somedb.sometable (id, given, surname) VALUES ('pgriffith',
'Peter', 'Griffith') USING TIMESTAMP 42;

Eric Evans
Acunu | | @acunu

View raw message