phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "NIDHI GAMBHIR (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PHOENIX-2265) Disallow creation of view over HBase table if PK not specified
Date Thu, 07 Jul 2016 22:47:10 GMT

    [ https://issues.apache.org/jira/browse/PHOENIX-2265?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15366904#comment-15366904
] 

NIDHI GAMBHIR commented on PHOENIX-2265:
----------------------------------------

If no body is working on this one, is it fine if I pick up to work on it. Thanks

> Disallow creation of view over HBase table if PK not specified
> --------------------------------------------------------------
>
>                 Key: PHOENIX-2265
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-2265
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: James Taylor
>              Labels: newbie
>             Fix For: 4.9.0
>
>
> We currently allow a Phoenix view to be defined over an HBase table without specifying
a primary key.
> To repro, create an HBase table in the HBase shell:
> {code}
>  create 'hb1', 'f1'
> {code}
> Then create a view in Phoenix:
> {code}
> create view "hb1"("f1".a varchar);
> {code}
> This should yield an error, as we haven't specified a primary key.



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

Mime
View raw message