Expiring Tables or Columns?

2014-07-15 Thread Shehaaz Saif
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


Thank you!

-Shehaaz

-- 
Shehaaz Saif
Twitter: @Shehaaz 
Blog: www.shehaaz.com 
Tel: 425-516-2160 


Re: Expiring Tables or Columns?

2014-07-15 Thread Brandon Williams
https://issues.apache.org/jira/browse/CASSANDRA-3974


On Tue, Jul 15, 2014 at 4:14 PM, Shehaaz Saif  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
> 
>
> Thank you!
>
> -Shehaaz
>
> --
> Shehaaz Saif
> Twitter: @Shehaaz 
> Blog: www.shehaaz.com 
> Tel: 425-516-2160 
>


Re: Expiring Tables or Columns?

2014-07-15 Thread Jack Krupansky

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  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


Thank you!

-Shehaaz

--
Shehaaz Saif
Twitter: @Shehaaz 
Blog: www.shehaaz.com 
Tel: 425-516-2160