cassandra-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Evans <>
Subject Re: Write Timestamps
Date Thu, 25 Oct 2012 21:09:48 GMT
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