You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Eli Levine (JIRA)" <ji...@apache.org> on 2015/07/09 03:30:05 UTC

[jira] [Updated] (PHOENIX-2104) Allow views to extend base table's PK even if last PK col is variable lengthnly if last PK column is fixed length)

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

Eli Levine updated PHOENIX-2104:
--------------------------------
    Assignee:     (was: Eli Levine)

> Allow views to extend base table's PK even if last PK col is variable lengthnly if last PK column is fixed length)
> ------------------------------------------------------------------------------------------------------------------
>
>                 Key: PHOENIX-2104
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-2104
>             Project: Phoenix
>          Issue Type: Sub-task
>    Affects Versions: 3.0.0, 4.0.0
>            Reporter: Eli Levine
>             Fix For: 5.0.0, 4.5.0
>
>
> CREATE VIEW syntax currently disallows PK constraint to be defined.  As a result views and tenant-specific tables created using CREATE VIEW automatically inherit their base table's PK with no way to extend it.
> Base tables should be allowed to be created with a minimum of PK columns to support views, and views to extend PKs as desired.  This would allow a single base table to support a heterogeneous set of views on top of it.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)