You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cassandra.apache.org by Shehaaz Saif <sh...@gmail.com> on 2014/07/15 23:14:38 UTC
Expiring Tables or Columns?
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>
Re: Expiring Tables or Columns?
Posted by Shehaaz Saif <sh...@gmail.com>.
Thank you Jack!
On Tue, Jul 15, 2014 at 9:03 PM, Jack Krupansky <ja...@basetechnology.com>
wrote:
> 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 <sh...@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>
>>
>>
>>
>
--
Shehaaz Saif
Twitter: @Shehaaz <https://twitter.com/Shehaaz>
Blog: www.shehaaz.com
Re: Expiring Tables or Columns?
Posted by Jack Krupansky <ja...@basetechnology.com>.
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 <sh...@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>
>
Re: Expiring Tables or Columns?
Posted by Brandon Williams <dr...@gmail.com>.
https://issues.apache.org/jira/browse/CASSANDRA-3974
On Tue, Jul 15, 2014 at 4:14 PM, Shehaaz Saif <sh...@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>
>