You can set TTL per mutation: Put, Increment. May be this is your case? But there is no TTL per column qualifier in HBase.
-Vlad On Wed, Mar 13, 2019 at 10:51 AM Vikash Agarwal <vikash.nit...@gmail.com> wrote: > What I am trying to say is Ttl is currently acting on qualifier level and > not family level. > > I have a table t1, with family m1, and ttl 5 mins. > I added qualifier q1 at time t1, and qualifier q2 at time t2 where t2 is 2 > mins greater than t1. > > After 5 mins only q1 got deleted and not q2. > Q2 got deleted 2 mins later. > > So what i am saying is , ttl is acting on qualifier level and not family > level. > > On Wed 13 Mar, 2019, 23:17 Vladimir Rodionov, <vladrodio...@gmail.com> > wrote: > > > I do not see a difference between " TTL acts per column qualifier level " > > and "TTL per column qualifier" > > So, the answer is still the same - there is no such feature in HBase. > > > > -Vlad > > > > > > On Wed, Mar 13, 2019 at 10:43 AM Vikash Agarwal <vikash.nit...@gmail.com > > > > wrote: > > > > > What I mean to say is TTL acts per column qualifier level and not at > > family > > > level. > > > > > > The qualifier that is added last is deleted last even if its a part of > > same > > > family. > > > > > > How can i get rid of all columns based on the first addition ? > > > > > > On Wed 13 Mar, 2019, 23:10 Vladimir Rodionov, <vladrodio...@gmail.com> > > > wrote: > > > > > > > No, columns are not part of HBase table schema , so there is no way > to > > > set > > > > TTL per column - only per column family. > > > > > > > > -Vlad > > > > > > > > On Wed, Mar 13, 2019 at 4:33 AM Vikash Agarwal < > > vikash.nit...@gmail.com> > > > > wrote: > > > > > > > > > TTL for Hbase Tables works on Column Qualifier and does not delete > > > > updated > > > > > Columns > > > > > https://stackoverflow.com/q/55140846/5532738?sem=2 > > > > > > > > > > -- > > > > > Vikash Agarwal > > > > > > > > > > > > > > >