[
https://issues.apache.org/jira/browse/PHOENIX-2265?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16764060#comment-16764060
]
Hadoop QA commented on PHOENIX-2265:
------------------------------------
{color:red}-1 overall{color}. Here are the results of testing the latest
attachment
http://issues.apache.org/jira/secure/attachment/12958106/PHOENIX-2265.patch
against master branch at commit 0d44f7625a7958d58fa596bdd0da67ff501da84c.
ATTACHMENT ID: 12958106
{color:green}+1 @author{color}. The patch does not contain any @author
tags.
{color:green}+1 tests included{color}. The patch appears to include 3 new
or modified tests.
{color:green}+1 javac{color}. The applied patch does not increase the
total number of javac compiler warnings.
{color:red}-1 release audit{color}. The applied patch generated 1 release
audit warnings (more than the master's current 0 warnings).
{color:red}-1 lineLengths{color}. The patch introduces the following lines
longer than 100:
+ TableDescriptorBuilder builder =
TableDescriptorBuilder.newBuilder(TableName.valueOf(tableNameStr));
+ conn.createStatement().executeUpdate("CREATE VIEW \"" +
tableNameStr + "\" (ROWKEY VARCHAR, \"" + familyNameStr + "\".a VARCHAR)");
+ conn.createStatement().executeUpdate("CREATE VIEW \"" + tableNameStr +
"\" (ROWKEY VARCHAR PRIMARY KEY, \"" + familyNameStr + "\".a VARCHAR)");
{color:red}-1 core tests{color}. The patch failed these unit tests:
./phoenix-core/target/failsafe-reports/TEST-org.apache.phoenix.end2end.index.MutableIndexSplitReverseScanIT
./phoenix-core/target/failsafe-reports/TEST-org.apache.phoenix.end2end.index.DropMetadataIT
./phoenix-core/target/failsafe-reports/TEST-org.apache.phoenix.end2end.index.MutableIndexSplitForwardScanIT
Test results:
https://builds.apache.org/job/PreCommit-PHOENIX-Build/2322//testReport/
Release audit warnings:
https://builds.apache.org/job/PreCommit-PHOENIX-Build/2322//artifact/patchprocess/patchReleaseAuditWarnings.txt
Console output:
https://builds.apache.org/job/PreCommit-PHOENIX-Build/2322//console
This message is automatically generated.
> 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
> Attachments: PHOENIX-2265.patch
>
>
> 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)