[
https://issues.apache.org/jira/browse/PHOENIX-22?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
James Taylor updated PHOENIX-22:
--------------------------------
Fix Version/s: (was: 4.7.0)
> 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)