Team
>
> MTC 2250
>
> #cassandra - for the latest news and updates
>
>
>
> *From:* Sujeet Kumar [mailto:genioussuj...@gmail.com]
> *Sent:* Monday, August 08, 2016 11:18 AM
> *To:* user@cassandra.apache.org
> *Subject:* setting ttl using timestamp field of record during insertio
2250
#cassandra - for the latest news and updates
From: Sujeet Kumar [mailto:genioussuj...@gmail.com]
Sent: Monday, August 08, 2016 11:18 AM
To: user@cassandra.apache.org
Subject: setting ttl using timestamp field of record during insertion in
cassandra
Hi
I want to set TTL 30 days from the time
Hi
I want to set TTL 30 days from the time field of table record(id,name,time)
during insertion.For this I am creating a User Defined Function(UDF) bigint
fun(rTime,cTime) as
CREATE FUNCTION fun(rtime timestamp,ctime timestamp) CALLED ON NULL INPUT
RETURNS bigint LANGUAGE java as 'return