[
https://issues.apache.org/jira/browse/PHOENIX-7166?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17816842#comment-17816842
]
ASF GitHub Bot commented on PHOENIX-7166:
-----------------------------------------
palashc commented on code in PR #1778:
URL: https://github.com/apache/phoenix/pull/1778#discussion_r1487022527
##########
phoenix-core-client/src/main/java/org/apache/phoenix/util/ViewUtil.java:
##########
@@ -484,7 +484,8 @@ public static void addIndexesFromParent(PhoenixConnection
connection, PTable vie
.setTableName(modifiedIndexName)
.setViewStatement(viewStatement)
.setUpdateCacheFrequency(view.getUpdateCacheFrequency())
- .setTenantId(view.getTenantId())
+ //retain the tenantId from the index being
inherited
Review Comment:
@tkhurana Let me know if the test looks fine -
https://github.com/apache/phoenix/pull/1778/commits/d83146b0e66b842774cc024e48aaea290c286cd9
> Set default values of feature flags introduced by metadata caching redesign
> ---------------------------------------------------------------------------
>
> Key: PHOENIX-7166
> URL: https://issues.apache.org/jira/browse/PHOENIX-7166
> Project: Phoenix
> Issue Type: Sub-task
> Reporter: Palash Chauhan
> Assignee: Palash Chauhan
> Priority: Major
>
> We have 3 feature flags which will control the metadata caching redesign
> functionality.
> 1. phoenix.metadata.invalidate.cache.enabled (default = false)
> 2. phoenix.ddl.timestamp.validation.enabled (default = false)
> 3. phoenix.default.update.cache.frequency (default = ALWAYS = 0)
> Once the implementation is complete, we can set the boolean config flags to
> True and set default Update Cache Frequency to NEVER = Long.MAX_VALUE.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)