You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Samarth Jain (JIRA)" <ji...@apache.org> on 2017/11/02 04:11:01 UTC

[jira] [Commented] (PHOENIX-4332) Stats - Allow setting guide post width on global indexes

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

Samarth Jain commented on PHOENIX-4332:
---------------------------------------

Instead of supporting ALTER TABLE or ALTER INDEX to set guide_posts_width, indexes now instead inherit the guide post width of the data table. This applies to global, local, and view indexes.

> Stats - Allow setting guide post width on global indexes
> --------------------------------------------------------
>
>                 Key: PHOENIX-4332
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-4332
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 4.12.0
>            Reporter: Mujtaba Chohan
>            Assignee: Samarth Jain
>            Priority: Major
>         Attachments: PHOENIX-4332.patch
>
>
> Altering guidepost with on data table does not propagate to global index using {{ALTER TABLE}} command.
> Altering global index table runs in not allowed error.
> {noformat}
> ALTER TABLE IDX SET GUIDE_POSTS_WIDTH=10000;
> Error: ERROR 1010 (42M01): Not allowed to mutate table. Cannot add/drop column referenced by VIEW columnName=IDX (state=42M01,code=1010)
> {noformat}



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