cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevin Burton <>
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.


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?


Location: *San Francisco, CA*
… or check out my Google+ profile

View raw message