cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevin Burton <bur...@spinn3r.com>
Subject TTLs on tables with *only* primary keys?
Date Wed, 05 Aug 2015 02:22:33 GMT
I have a table which just has primary keys.

basically:

create table foo (

    sequence bigint,
    signature text,
    primary key( sequence, signature )
)

I need these to eventually get GCd however it doesn’t seem to work.

If I then run:

select ttl(sequence) from foo;

I get:

Cannot use selection function ttl on PRIMARY KEY part sequence

…

I get the same thing if I do it on the second column .. (signature).

And the value doesn’t seem to be TTLd.

What’s the best way to proceed here?


-- 

Founder/CEO Spinn3r.com
Location: *San Francisco, CA*
blog: http://burtonator.wordpress.com
… or check out my Google+ profile
<https://plus.google.com/102718274791889610666/posts>

Mime
View raw message