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

Thu, 11 Dec 2014 13:59:41 -0800

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

Alicia Ying Shu commented on PHOENIX-1409:
------------------------------------------

Take TTL for example, user can set it both at table level and column family 
level. If both are set, do we want to overwrite all the column family TTLs to 
be table TTL?
 
ALTER TABLE set_ttl_test SET b.TTL=30;
ALTER TABLE set_ttl_test SET TTL=100;

Do we want b.TTL=100 after the 2nd Alter table command?

> 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