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

Tue, 30 Dec 2014 14:59:01 -0800

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

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

[~samarth.j...@gmail.com] I will revert your changes on tests. Please open 
another Jira for this if there is any issue to be addressed. Also to confirm 
TTL changes, we allow the following:

CREATE TABLE T1 (pk char(2) not null primary key, b.col2 char(10)) ttl=10 SPLIT 
ON ('EA','EZ')    -- ok
CREATE TABLE T1 (pk char(2) not null primary key, b.col2 char(10)) b.ttl=10 
SPLIT ON ('EA','EZ')   -- error
alter table T1 set ttl =100      -- ok
alter table T1 set b.ttl =100    -- error


> 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
>    Affects Versions: 4.2
>            Reporter: James Taylor
>            Assignee: Alicia Ying Shu
>         Attachments: PHOENIX-1409-v3.patch, Phoenix-1409-v1.patch, 
> Phoenix-1409.patch, WIP.patch, phoenix-1409-v2.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