phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PHOENIX-1266) Disallow setting NOT NULL constraint on non PK columns
Date Sun, 21 Sep 2014 05:22:33 GMT

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

Hudson commented on PHOENIX-1266:
---------------------------------

SUCCESS: Integrated in Phoenix | Master | Hadoop1 #374 (See [https://builds.apache.org/job/Phoenix-master-hadoop1/374/])
PHOENIX-1266 Disallow setting NOT NULL constraint on non PK columns (jtaylor: rev 19e333ad726e993028e54b6612303f454f26b673)
* phoenix-core/src/main/java/org/apache/phoenix/schema/PColumnImpl.java
* phoenix-core/src/main/java/org/apache/phoenix/schema/MetaDataClient.java
* phoenix-core/src/it/java/org/apache/phoenix/end2end/TenantSpecificTablesDDLIT.java
* phoenix-core/src/test/java/org/apache/phoenix/compile/QueryCompilerTest.java
* phoenix-core/src/test/java/org/apache/phoenix/query/BaseTest.java
* phoenix-core/src/it/java/org/apache/phoenix/end2end/CreateTableIT.java


> Disallow setting NOT NULL constraint on non PK columns
> ------------------------------------------------------
>
>                 Key: PHOENIX-1266
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-1266
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: James Taylor
>         Attachments: PHOENIX-1266.patch
>
>
> We thought this was fixed (2x), but there's another variant of it that was discovered.
The following SQL should give an error, but doesn't:
> {code}
> create table test.testing(k integer primary key, v bigint not null);
> {code}



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

Mime
View raw message