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

James Taylor commented on PHOENIX-2885:
---------------------------------------

This JIRA can be broken down into the following steps:
- Define new constant in QueryServices.java for default config parameter. 
Something like {{phoenix.default.update.cache.frequency}}.
- Define a default value in QueryServicesOptions.java for the new config 
parameter.
- Modify MetaDataClient.createTableInternal() to use a) parent 
UPDATE_CACHE_FREQUENCY when creating a VIEW, and b) the default config value 
for UPDATE_CACHE_FREQUENCY.

> Set default value for UPDATE_CACHE_FREQUENCY
> --------------------------------------------
>
>                 Key: PHOENIX-2885
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-2885
>             Project: Phoenix
>          Issue Type: Sub-task
>            Reporter: James Taylor
>            Assignee: Maddineni Sukumar
>             Fix For: 4.11.0
>
>
> We have the ability currently to tell Phoenix how stale we're will to have 
> the metadata through our UPDATE_CACHE_FREQUENCY feature[1]. By default, when 
> a table is created, unless explicitly specified, there is no 
> UPDATE_CACHE_FREQUENCY set. We should provide a new Phoenix configuration 
> parameter to specify a default value when a CREATE TABLE statement is 
> executed. In addition, when a VIEW is created, we should inherit the 
> UPDATE_CACHE_FREQUENCY value from the parent (unless it's explicitly 
> specified) and then fallback to the new default config value.
> [1] https://phoenix.apache.org/language/index.html#options



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to