The "default_time_to_live" property for CREATE TABLE. See:
http://www.datastax.com/documentation/cql/3.1/cql/cql_reference/tabProp.html

That's in the DataStax CQL doc, but I don't see it in the Apache Cassandra CQL spec:
https://cassandra.apache.org/doc/cql3/CQL-2.0.html

-- Jack Krupansky

-----Original Message----- From: Brandon Williams
Sent: Tuesday, July 15, 2014 5:36 PM
To: dev@cassandra.apache.org
Subject: Re: Expiring Tables or Columns?

https://issues.apache.org/jira/browse/CASSANDRA-3974


On Tue, Jul 15, 2014 at 4:14 PM, Shehaaz Saif <sheh...@gmail.com> wrote:

Hi!

I just received a question from someone at work about setting a TTL for a
table...I said that they can't do that...it can only be set at the column
level. Is that right?

These are the options that they have:

http://www.datastax.com/documentation/cql/3.0/cql/cql_using/use_remove_data_c.html
<http://s.bl-1.com/h/hPXFFQr>

Thank you!

-Shehaaz

--
Shehaaz Saif
Twitter: @Shehaaz <http://s.bl-1.com/h/hPXYLQ9>
Blog: www.shehaaz.com <http://s.bl-1.com/h/hPXYRpC>
Tel: 425-516-2160 <http://s.bl-1.com/h/hPXYWCF>


Reply via email to