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

James Taylor commented on PHOENIX-4343:
---------------------------------------

Patch looks fine, but if we go the route of propagating GUIDE_POSTS_WIDTH from 
table to indexes, should we disallow even setting it on indexes for now? For 
example, it's a little unexpected if this happens:
# create table with guide post width of 50
# create index on table with guide post width of 20
# alter table to have guide post width of 30

After (3), the index will end up having a guide post width of 30. If we 
disallow the setting on the index altogether, then you don't really run into 
this issue. If we do support setting it on an index, then I think we need to:
- support alter index too
- decide what to do when propagating if it's set locally on the index
- if we do support alter index, would we just not propagate?

> In CREATE TABLE only allow setting guide post width on tables and global 
> indexes
> --------------------------------------------------------------------------------
>
>                 Key: PHOENIX-4343
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-4343
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: Samarth Jain
>            Assignee: Samarth Jain
>            Priority: Major
>         Attachments: PHOENIX-4343.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to