Eli Levine created PHOENIX-22:
---------------------------------

             Summary: 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
             Fix For: 3.0.0


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.1.5#6160)

Reply via email to