[
https://issues.apache.org/jira/browse/PHOENIX-2265?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16784087#comment-16784087
]
Hudson commented on PHOENIX-2265:
---------------------------------
FAILURE: Integrated in Jenkins build PreCommit-PHOENIX-Build #2383 (See
[https://builds.apache.org/job/PreCommit-PHOENIX-Build/2383/])
PHOENIX-2265 Disallow creation of view over HBase table if PK not (gjacoby: rev
29b6c9b1c9bf4ee4e31e31f1e618d1d8a3d351dc)
* (edit) phoenix-core/src/it/java/org/apache/phoenix/end2end/ViewIT.java
* (edit)
phoenix-core/src/main/java/org/apache/phoenix/compile/CreateTableCompiler.java
> 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
> Assignee: Xinyi Yan
> Priority: Major
> Labels: newbie
> Fix For: 4.15.0, 5.1
>
> Attachments: PHOENIX-2265-4.x-HBase-1.4.patch,
> PHOENIX-2265-master.patch, PHOENIX-2265.patch, PHOENIX-2265.patch
>
> Time Spent: 1h 20m
> Remaining Estimate: 0h
>
> 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
(v7.6.3#76005)