cql - TTL field for a set of columns in CQL3 - Cassandra -
consider following insert statement.
insert nerdmovies (movie, director, main_actor, year) values ('serenity', 'joss whedon', 'nathan fillion', 2005) using ttl 86400;
does ttl field specify time live whole set of columns particular primary key or 1 particular column. because want specify ttl whole set of columns should deleted after ttl expires.
ok, figured out self. sets ttl whole set of columns. so, columns particular primary key deleted once ttl expires.
Comments
Post a Comment