[ https://issues.apache.org/jira/browse/PHOENIX-1409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14254545#comment-14254545 ]
James Taylor commented on PHOENIX-1409: --------------------------------------- bq. Should we follow the rule that if a property does not specify column family name, we make it to default column family? Do it the way we discussed already. bq. The ALTER TABLE sql would throw exception because "CF" is not defined. "SET" is only set property. That's reasonable, but rather than getting an HBaseAdmin and making a server roundtrip, check if the column family is defined in the PTable for this determination. Thanks [~ayingshu] & [~samarthjain] - I think you're getting close. Let me know when there's another patch to review. > 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-v1.patch, Phoenix-1409.patch, 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)