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

ASF GitHub Bot commented on PHOENIX-4891:
-----------------------------------------

Github user twdsilva commented on a diff in the pull request:

    https://github.com/apache/phoenix/pull/363#discussion_r227622543
  
    --- Diff: 
phoenix-core/src/main/java/org/apache/phoenix/util/UpgradeUtil.java ---
    @@ -151,6 +152,14 @@
                 + "(TENANT_ID, TABLE_SCHEM, TABLE_NAME, COLUMN_NAME, 
COLUMN_FAMILY, BASE_COLUMN_COUNT) "
                 + "VALUES (?, ?, ?, ?, ?, ?) ";
     
    +    public static final String UPSERT_UPDATE_CACHE_FREQUENCY_FOR_INDEXES =
    --- End diff --
    
    nit: rename to UPSERT_UPDATE_CACHE_FREQUENCY


> An index should inherit UPDATE_CACHE_FREQUENCY setting from parent table
> ------------------------------------------------------------------------
>
>                 Key: PHOENIX-4891
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-4891
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: Lars Hofhansl
>            Assignee: Chinmay Kulkarni
>            Priority: Minor
>
> I tried:
> # creating a table with UPDATE_CACHE_FREQUENCE > 0, then creating a local 
> index on the table.
> # creating a table, then creating the local index, then altering the table 
> setting UPDATE_CACHE_FREQUENCY to > 0
> In both cases the local index did not inherit the setting, verified both by 
> looking at SYSTEM.CATALOG, as well by behavior.
> Update: This also happens for a global index.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to