[ 
https://issues.apache.org/jira/browse/PHOENIX-1240?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14220205#comment-14220205
 ] 

Samarth Jain commented on PHOENIX-1240:
---------------------------------------

[~ayingshu] - I took a look at your patch. TTL is a column family level 
attribute. Your patch will only work  when the intent is to have the same TTL 
for all the column families of the table. It won't work for cases when you want 
to have different TTLs for different column families. Take a look at some of 
the tests I wrote in CreateTableIT like 
testCreateTableColumnFamilyHBaseAttribs1 etc. 

I am working on PHOENIX-1409 that will let you set such column family level and 
htable level attributes through phoenix ALTER TABLE <tablename> SET command. 
Once PHOENIX-1408 is checked in, then you won't need to disable the table for 
adding such attributes (provided hbase.online.schema.update.enable is set to 
true). 

> Add TTL to SYSTEM.TRACING_STATS table
> -------------------------------------
>
>                 Key: PHOENIX-1240
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-1240
>             Project: Phoenix
>          Issue Type: Sub-task
>    Affects Versions: 5.0.0, 4.1.1
>            Reporter: Jesse Yates
>            Assignee: Alicia Ying Shu
>             Fix For: 5.0.0, 4.1.1
>
>         Attachments: PHOENIX-1240.patch
>
>
> Tracing table should have a configurable TTL on it, so the table doesn't fill 
> up with too much data.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to