[
https://issues.apache.org/jira/browse/PHOENIX-7070?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Lokesh Khurana reassigned PHOENIX-7070:
---------------------------------------
Assignee: Divneet Kaur
> Tenant View on ReadOnly View are marked as updatable View
> ---------------------------------------------------------
>
> Key: PHOENIX-7070
> URL: https://issues.apache.org/jira/browse/PHOENIX-7070
> Project: Phoenix
> Issue Type: Bug
> Reporter: Lokesh Khurana
> Assignee: Divneet Kaur
> Priority: Major
>
> When we are creating tenant View without select clause on Readonly views we
> are pushing viewType as Updatable for that tenant views, which should be
> readonly.
> We are putting default view type as
> [Updatable|https://github.com/apache/phoenix/blob/c6539dca43fc81d528dfb0791e67006c7b1fa37a/phoenix-core/src/main/java/org/apache/phoenix/compile/CreateTableCompiler.java#L138C39-L138C50]
> but only updating child view's viewtype when we have a where clause causing
> this problem
> This may be a problem for normal child view without where clause on Readonly
> views as well.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)