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:38:33 GMT

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

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

SUCCESS: Integrated in Phoenix | 4.0 | Hadoop2 #148 (See [https://builds.apache.org/job/Phoenix-4.0-hadoop2/148/])
PHOENIX-1266 Disallow setting NOT NULL constraint on non PK columns (jtaylor: rev 987acf6d1e25fc4ad1ef2b7f95a203a0d496cadd)
* phoenix-core/src/test/java/org/apache/phoenix/compile/QueryCompilerTest.java
* phoenix-core/src/it/java/org/apache/phoenix/end2end/TenantSpecificTablesDDLIT.java
* phoenix-core/src/main/java/org/apache/phoenix/schema/PColumnImpl.java
* phoenix-core/src/it/java/org/apache/phoenix/end2end/CreateTableIT.java
* phoenix-core/src/test/java/org/apache/phoenix/query/BaseTest.java
* phoenix-core/src/main/java/org/apache/phoenix/schema/MetaDataClient.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