You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "James Taylor (JIRA)" <ji...@apache.org> on 2016/01/24 05:27:39 UTC
[jira] [Resolved] (PHOENIX-22) Explicitly declare views as
read-only or updatable
[ https://issues.apache.org/jira/browse/PHOENIX-22?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
James Taylor resolved PHOENIX-22.
---------------------------------
Resolution: Duplicate
Duplicate of PHOENIX-2026
> Explicitly declare views as read-only or updatable
> --------------------------------------------------
>
> Key: PHOENIX-22
> URL: https://issues.apache.org/jira/browse/PHOENIX-22
> Project: Phoenix
> Issue Type: Bug
> Affects Versions: 3.0.0
> Reporter: Eli Levine
> Priority: Minor
>
> Documentation on Views: https://github.com/forcedotcom/phoenix/wiki/Views#wiki-read-only-views
> Views can be updatable or read-only. Currently the deciding factor between the two is the complexity of the WHERE clause used for view creation. Instead, users should be able to explicitly declare whether or not a view is updatable at creation time for the following reasons:
> 1. Users might want to explicitly control view readability, including views that use simple WHERE clauses.
> 2. Phoenix will likely expand the notion of what WHERE clauses can be used to construct updatable views in future releases. A view that is read-only now because its WHERE clause is "too complicated" might automatically become updatable automatically in the future. This seems an undesirable change in behavior from users' perspective.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)