[jira] [Commented] (PHOENIX-1409) Allow ALTER TABLE SET command to update HTableDescriptor and HColumnDescriptor properties

Thu, 11 Dec 2014 14:12:12 -0800

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

James Taylor commented on PHOENIX-1409:
---------------------------------------

Does HBase support a TTL for the table as well as for a column family? What 
happens if they're set to different values?

If it's only per column family, then ALTER TABLE set_ttl_test SET TTL=100 
should set the TTL to 100 for the default column family only IMO (I believe 
that's the logic that's in place now in general - would you mind confirming how 
it works when you set TTL in CREATE TABLE statement when there's more than one 
column family?). If the user wants to set it for all column families, then 
they'd need to list them out like this: ALTER TABLE set_ttl_test SET a.TTL=100, 
b.TTL=100. 

> Allow ALTER TABLE <table> SET command to update HTableDescriptor and 
> HColumnDescriptor properties
> -------------------------------------------------------------------------------------------------
>
>                 Key: PHOENIX-1409
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-1409
>             Project: Phoenix
>          Issue Type: Improvement
>            Reporter: James Taylor
>            Assignee: Alicia Ying Shu
>         Attachments: WIP.patch
>
>
> Once PHOENIX-1408 is fixed, we should allow HTableDescriptor and 
> HColumnDescriptor properties through the ALTER TABLE <table> SET command. 
> It'd just be a matter of passing these properties through the existing 
> methods, as we support this for CREATE TABLE.



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

Reply via email to