Thanks.Actually i want to start ttl from the record timestamp field, not
from insertion time(ttl starts from insertion time).
On Mon, Aug 8, 2016 at 9:36 PM, wrote:
> Perhaps you can set the default TTL when you create the table instead of
> on every insert:
>
> http://docs.datastax.com/en/cql/3
Perhaps you can set the default TTL when you create the table instead of on
every insert:
http://docs.datastax.com/en/cql/3.1/cql/cql_reference/tabProp.html
(see default_time_to_live property)
Then no need for UDF.
Sean Durity
lord of the (C*) rings (Lead Cassandra Admin)
Big DATA Team
MTC 2250