[ 
https://issues.apache.org/jira/browse/PHOENIX-7070?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Viraj Jasani updated PHOENIX-7070:
----------------------------------
    Fix Version/s: 5.2.0
                   5.1.4

> Child View of ReadOnly View is 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
>             Fix For: 5.2.0, 5.1.4
>
>
> 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)

Reply via email to