Jenkins build is back to normal : Phoenix | 4.0 | Hadoop2 #144

2014-09-20 Thread Apache Jenkins Server
See https://builds.apache.org/job/Phoenix-4.0-hadoop2/144/



git commit: PHOENIX-1258 Fix RegexpSubstrFunction serialization

2014-09-20 Thread greid
Repository: phoenix
Updated Branches:
  refs/heads/master 2e9677d35 - 1040fd05c


PHOENIX-1258 Fix RegexpSubstrFunction serialization

Correct deserialization of RegexpSubstrFunction so that it can
be used in filters and group-by statements.

Contributed by Jay Wong.


Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo
Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/1040fd05
Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/1040fd05
Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/1040fd05

Branch: refs/heads/master
Commit: 1040fd05ca317035c1a4bb3e123110b1a8f678e8
Parents: 2e9677d
Author: Gabriel Reid gabri...@ngdata.com
Authored: Sat Sep 20 20:23:49 2014 +0200
Committer: Gabriel Reid gabri...@ngdata.com
Committed: Sat Sep 20 20:29:53 2014 +0200

--
 .../phoenix/end2end/RegexpSubstrFunctionIT.java | 90 
 .../function/RegexpSubstrFunction.java  |  8 ++
 2 files changed, 98 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/1040fd05/phoenix-core/src/it/java/org/apache/phoenix/end2end/RegexpSubstrFunctionIT.java
--
diff --git 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/RegexpSubstrFunctionIT.java
 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/RegexpSubstrFunctionIT.java
new file mode 100644
index 000..1121207
--- /dev/null
+++ 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/RegexpSubstrFunctionIT.java
@@ -0,0 +1,90 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * License); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an AS IS BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.phoenix.end2end;
+
+import org.apache.phoenix.util.PhoenixRuntime;
+import org.apache.phoenix.util.PropertiesUtil;
+import org.junit.Before;
+import org.junit.Test;
+import org.junit.experimental.categories.Category;
+
+import java.sql.*;
+import java.util.Properties;
+
+import static org.apache.phoenix.util.TestUtil.GROUPBYTEST_NAME;
+import static org.apache.phoenix.util.TestUtil.TEST_PROPERTIES;
+import static org.junit.Assert.*;
+
+@Category(HBaseManagedTimeTest.class)
+public class RegexpSubstrFunctionIT extends BaseHBaseManagedTimeIT {
+
+private int id;
+
+@Before
+public void doBeforeTestSetup() throws Exception {
+ensureTableCreated(getUrl(), GROUPBYTEST_NAME);
+Connection conn = DriverManager.getConnection(getUrl());
+insertRow(conn, Report1?1, 10);
+insertRow(conn, Report1?2, 10);
+insertRow(conn, Report2?1, 30);
+insertRow(conn, Report3?2, 30);
+conn.commit();
+conn.close();
+}
+
+private void insertRow(Connection conn, String uri, int appcpu) throws 
SQLException {
+PreparedStatement statement = conn.prepareStatement(UPSERT INTO  + 
GROUPBYTEST_NAME + (id, uri, appcpu) values (?,?,?));
+statement.setString(1, id + id);
+statement.setString(2, uri);
+statement.setInt(3, appcpu);
+statement.executeUpdate();
+id++;
+}
+
+@Test
+public void testGroupByScanWithRegexpSubstr() throws Exception {
+Connection conn = DriverManager.getConnection(getUrl());
+Statement stmt = conn.createStatement();
+ResultSet rs = stmt.executeQuery(select REGEXP_SUBSTR(uri, 
'[^?]+') suburi, sum(appcpu) sumcpu from  + GROUPBYTEST_NAME
++  group by suburi);
+assertTrue(rs.next());
+assertEquals(rs.getString(suburi), Report1);
+assertEquals(rs.getInt(sumcpu), 20);
+assertTrue(rs.next());
+assertEquals(rs.getString(suburi), Report2);
+assertEquals(rs.getInt(sumcpu), 30);
+assertTrue(rs.next());
+assertEquals(rs.getString(suburi), Report3);
+assertEquals(rs.getInt(sumcpu), 30);
+assertFalse(rs.next());
+conn.close();
+}
+
+@Test
+public void testFilterWithRegexSubstr() throws Exception {
+Connection conn = DriverManager.getConnection(getUrl());
+ResultSet rs = conn.createStatement().executeQuery(
+select id from  + GROUPBYTEST_NAME +  where 
REGEXP_SUBSTR(uri, 

git commit: PHOENIX-1258 Fix RegexpSubstrFunction serialization

2014-09-20 Thread greid
Repository: phoenix
Updated Branches:
  refs/heads/4.0 5cdc938e8 - b6d67702a


PHOENIX-1258 Fix RegexpSubstrFunction serialization

Correct deserialization of RegexpSubstrFunction so that it can
be used in filters and group-by statements.

Contributed by Jay Wong.


Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo
Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/b6d67702
Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/b6d67702
Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/b6d67702

Branch: refs/heads/4.0
Commit: b6d67702aedfe1c55518c8f021b0652d49111091
Parents: 5cdc938
Author: Gabriel Reid gabri...@ngdata.com
Authored: Sat Sep 20 20:23:49 2014 +0200
Committer: Gabriel Reid gabri...@ngdata.com
Committed: Sat Sep 20 20:28:38 2014 +0200

--
 .../phoenix/end2end/RegexpSubstrFunctionIT.java | 90 
 .../function/RegexpSubstrFunction.java  |  8 ++
 2 files changed, 98 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/b6d67702/phoenix-core/src/it/java/org/apache/phoenix/end2end/RegexpSubstrFunctionIT.java
--
diff --git 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/RegexpSubstrFunctionIT.java
 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/RegexpSubstrFunctionIT.java
new file mode 100644
index 000..1121207
--- /dev/null
+++ 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/RegexpSubstrFunctionIT.java
@@ -0,0 +1,90 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * License); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an AS IS BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.phoenix.end2end;
+
+import org.apache.phoenix.util.PhoenixRuntime;
+import org.apache.phoenix.util.PropertiesUtil;
+import org.junit.Before;
+import org.junit.Test;
+import org.junit.experimental.categories.Category;
+
+import java.sql.*;
+import java.util.Properties;
+
+import static org.apache.phoenix.util.TestUtil.GROUPBYTEST_NAME;
+import static org.apache.phoenix.util.TestUtil.TEST_PROPERTIES;
+import static org.junit.Assert.*;
+
+@Category(HBaseManagedTimeTest.class)
+public class RegexpSubstrFunctionIT extends BaseHBaseManagedTimeIT {
+
+private int id;
+
+@Before
+public void doBeforeTestSetup() throws Exception {
+ensureTableCreated(getUrl(), GROUPBYTEST_NAME);
+Connection conn = DriverManager.getConnection(getUrl());
+insertRow(conn, Report1?1, 10);
+insertRow(conn, Report1?2, 10);
+insertRow(conn, Report2?1, 30);
+insertRow(conn, Report3?2, 30);
+conn.commit();
+conn.close();
+}
+
+private void insertRow(Connection conn, String uri, int appcpu) throws 
SQLException {
+PreparedStatement statement = conn.prepareStatement(UPSERT INTO  + 
GROUPBYTEST_NAME + (id, uri, appcpu) values (?,?,?));
+statement.setString(1, id + id);
+statement.setString(2, uri);
+statement.setInt(3, appcpu);
+statement.executeUpdate();
+id++;
+}
+
+@Test
+public void testGroupByScanWithRegexpSubstr() throws Exception {
+Connection conn = DriverManager.getConnection(getUrl());
+Statement stmt = conn.createStatement();
+ResultSet rs = stmt.executeQuery(select REGEXP_SUBSTR(uri, 
'[^?]+') suburi, sum(appcpu) sumcpu from  + GROUPBYTEST_NAME
++  group by suburi);
+assertTrue(rs.next());
+assertEquals(rs.getString(suburi), Report1);
+assertEquals(rs.getInt(sumcpu), 20);
+assertTrue(rs.next());
+assertEquals(rs.getString(suburi), Report2);
+assertEquals(rs.getInt(sumcpu), 30);
+assertTrue(rs.next());
+assertEquals(rs.getString(suburi), Report3);
+assertEquals(rs.getInt(sumcpu), 30);
+assertFalse(rs.next());
+conn.close();
+}
+
+@Test
+public void testFilterWithRegexSubstr() throws Exception {
+Connection conn = DriverManager.getConnection(getUrl());
+ResultSet rs = conn.createStatement().executeQuery(
+select id from  + GROUPBYTEST_NAME +  where 
REGEXP_SUBSTR(uri, '[^?]+') 

Apache-Phoenix | 3.0 | Hadoop1 | Build Successful

2014-09-20 Thread Apache Jenkins Server
3.0 branch build status Successful
Source repository https://git-wip-us.apache.org/repos/asf/phoenix.git

Last Successful Compiled Artifacts https://builds.apache.org/job/Phoenix-3.0-hadoop1/lastSuccessfulBuild/artifact/

Last Complete Test Report https://builds.apache.org/job/Phoenix-3.0-hadoop1/lastCompletedBuild/testReport/

Changes
[gabrielr] PHOENIX-1258 Fix RegexpSubstrFunction serialization



Jenkins build is back to normal : Phoenix | 4.0 | Hadoop1 #322

2014-09-20 Thread Apache Jenkins Server
See https://builds.apache.org/job/Phoenix-4.0-hadoop1/322/changes



Jenkins build is back to normal : Phoenix | Master | Hadoop1 #373

2014-09-20 Thread Apache Jenkins Server
See https://builds.apache.org/job/Phoenix-master-hadoop1/373/changes



Apache-Phoenix | 4.0 | Hadoop1 | Build Successful

2014-09-20 Thread Apache Jenkins Server
4.0 branch build status Successful

Source repository https://git-wip-us.apache.org/repos/asf/incubator-phoenix.git

Compiled Artifacts https://builds.apache.org/job/Phoenix-4.0-hadoop1/lastSuccessfulBuild/artifact/

Test Report https://builds.apache.org/job/Phoenix-4.0-hadoop1/lastCompletedBuild/testReport/

Changes
[elilevine] First pass at PHOENIX-1198: added custom annotations to client-side log lines that are within the scope of a user operation



[2/2] git commit: Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/phoenix

2014-09-20 Thread jamestaylor
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/phoenix


Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo
Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/2fe9be74
Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/2fe9be74
Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/2fe9be74

Branch: refs/heads/master
Commit: 2fe9be740d3d6d54013bc45f2a4061a17a363f8f
Parents: 19e333a 1040fd0
Author: James Taylor jtay...@salesforce.com
Authored: Sat Sep 20 21:50:33 2014 -0700
Committer: James Taylor jtay...@salesforce.com
Committed: Sat Sep 20 21:50:33 2014 -0700

--
 .../phoenix/end2end/RegexpSubstrFunctionIT.java | 90 
 .../function/RegexpSubstrFunction.java  |  8 ++
 2 files changed, 98 insertions(+)
--




git commit: PHOENIX-1266 Disallow setting NOT NULL constraint on non PK columns

2014-09-20 Thread jamestaylor
Repository: phoenix
Updated Branches:
  refs/heads/4.0 6262e4837 - 987acf6d1


PHOENIX-1266 Disallow setting NOT NULL constraint on non PK columns


Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo
Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/987acf6d
Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/987acf6d
Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/987acf6d

Branch: refs/heads/4.0
Commit: 987acf6d1e25fc4ad1ef2b7f95a203a0d496cadd
Parents: 6262e48
Author: James Taylor jtay...@salesforce.com
Authored: Sat Sep 20 21:50:12 2014 -0700
Committer: James Taylor jtay...@salesforce.com
Committed: Sat Sep 20 21:52:46 2014 -0700

--
 .../org/apache/phoenix/end2end/CreateTableIT.java   | 14 ++
 .../phoenix/end2end/TenantSpecificTablesDDLIT.java  |  2 +-
 .../org/apache/phoenix/schema/MetaDataClient.java   | 16 +---
 .../java/org/apache/phoenix/schema/PColumnImpl.java |  6 +-
 .../apache/phoenix/compile/QueryCompilerTest.java   |  2 +-
 .../java/org/apache/phoenix/query/BaseTest.java | 16 
 6 files changed, 38 insertions(+), 18 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/987acf6d/phoenix-core/src/it/java/org/apache/phoenix/end2end/CreateTableIT.java
--
diff --git 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/CreateTableIT.java 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/CreateTableIT.java
index e28273e..1f9afc4 100644
--- a/phoenix-core/src/it/java/org/apache/phoenix/end2end/CreateTableIT.java
+++ b/phoenix-core/src/it/java/org/apache/phoenix/end2end/CreateTableIT.java
@@ -350,4 +350,18 @@ public class CreateTableIT extends BaseClientManagedTimeIT 
{
 }
}
 
+@Test
+public void testNotNullConstraintForWithSinglePKCol() throws Exception {
+
+String ddl = create table test.testing(k integer primary key, v 
bigint not null);
+
+Properties props = new Properties();
+Connection conn = DriverManager.getConnection(getUrl(), props);
+try {
+conn.createStatement().execute(ddl);
+fail( Non pk column V has a NOT NULL constraint);
+} catch( SQLException sqle) {
+
assertEquals(SQLExceptionCode.INVALID_NOT_NULL_CONSTRAINT.getErrorCode(),sqle.getErrorCode());
+}
+   }
 }

http://git-wip-us.apache.org/repos/asf/phoenix/blob/987acf6d/phoenix-core/src/it/java/org/apache/phoenix/end2end/TenantSpecificTablesDDLIT.java
--
diff --git 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/TenantSpecificTablesDDLIT.java
 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/TenantSpecificTablesDDLIT.java
index 655fe44..2d6c30b 100644
--- 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/TenantSpecificTablesDDLIT.java
+++ 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/TenantSpecificTablesDDLIT.java
@@ -179,7 +179,7 @@ public class TenantSpecificTablesDDLIT extends 
BaseTenantSpecificTablesIT {
 public void testBaseTableWrongFormatWithTenantTypeId() throws Exception {
 // only two PK columns for multi_tenant, multi_type
 try {
-createTestTable(getUrl(), CREATE TABLE BASE_TABLE2 (TENANT_ID 
VARCHAR NOT NULL PRIMARY KEY, ID VARCHAR NOT NULL, A INTEGER) 
MULTI_TENANT=true, null, nextTimestamp());
+createTestTable(getUrl(), CREATE TABLE BASE_TABLE2 (TENANT_ID 
VARCHAR NOT NULL PRIMARY KEY, ID VARCHAR, A INTEGER) MULTI_TENANT=true, null, 
nextTimestamp());
 fail();
 }
 catch (SQLException expected) {

http://git-wip-us.apache.org/repos/asf/phoenix/blob/987acf6d/phoenix-core/src/main/java/org/apache/phoenix/schema/MetaDataClient.java
--
diff --git 
a/phoenix-core/src/main/java/org/apache/phoenix/schema/MetaDataClient.java 
b/phoenix-core/src/main/java/org/apache/phoenix/schema/MetaDataClient.java
index eafac8b..1f933d8 100644
--- a/phoenix-core/src/main/java/org/apache/phoenix/schema/MetaDataClient.java
+++ b/phoenix-core/src/main/java/org/apache/phoenix/schema/MetaDataClient.java
@@ -1149,15 +1149,17 @@ public class MetaDataClient {
 
.setColumnName(colDef.getColumnDefName().getColumnName()).build().buildException();
 }
 isPK = true;
+} else {
+// do not allow setting NOT-NULL constraint on non-primary 
columns.
+if (  Boolean.FALSE.equals(colDef.isNull()) 
+( isPK || ( pkConstraint != null  
!pkConstraint.contains(colDef.getColumnDefName() {
+throw new 

git commit: PHOENIX-1266 Disallow setting NOT NULL constraint on non PK columns

2014-09-20 Thread jamestaylor
Repository: phoenix
Updated Branches:
  refs/heads/3.0 49a5d037f - 48a2482b4


PHOENIX-1266 Disallow setting NOT NULL constraint on non PK columns


Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo
Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/48a2482b
Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/48a2482b
Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/48a2482b

Branch: refs/heads/3.0
Commit: 48a2482b46e3b4499b0e16382ea1d6641777d12f
Parents: 49a5d03
Author: James Taylor jtay...@salesforce.com
Authored: Sat Sep 20 21:50:12 2014 -0700
Committer: James Taylor jtay...@salesforce.com
Committed: Sat Sep 20 21:55:09 2014 -0700

--
 .../org/apache/phoenix/end2end/CreateTableIT.java   | 14 ++
 .../phoenix/end2end/TenantSpecificTablesDDLIT.java  |  2 +-
 .../org/apache/phoenix/schema/MetaDataClient.java   | 16 +---
 .../java/org/apache/phoenix/schema/PColumnImpl.java |  8 ++--
 .../apache/phoenix/compile/QueryCompilerTest.java   |  2 +-
 .../java/org/apache/phoenix/query/BaseTest.java | 16 
 6 files changed, 39 insertions(+), 19 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/48a2482b/phoenix-core/src/it/java/org/apache/phoenix/end2end/CreateTableIT.java
--
diff --git 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/CreateTableIT.java 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/CreateTableIT.java
index e28273e..1f9afc4 100644
--- a/phoenix-core/src/it/java/org/apache/phoenix/end2end/CreateTableIT.java
+++ b/phoenix-core/src/it/java/org/apache/phoenix/end2end/CreateTableIT.java
@@ -350,4 +350,18 @@ public class CreateTableIT extends BaseClientManagedTimeIT 
{
 }
}
 
+@Test
+public void testNotNullConstraintForWithSinglePKCol() throws Exception {
+
+String ddl = create table test.testing(k integer primary key, v 
bigint not null);
+
+Properties props = new Properties();
+Connection conn = DriverManager.getConnection(getUrl(), props);
+try {
+conn.createStatement().execute(ddl);
+fail( Non pk column V has a NOT NULL constraint);
+} catch( SQLException sqle) {
+
assertEquals(SQLExceptionCode.INVALID_NOT_NULL_CONSTRAINT.getErrorCode(),sqle.getErrorCode());
+}
+   }
 }

http://git-wip-us.apache.org/repos/asf/phoenix/blob/48a2482b/phoenix-core/src/it/java/org/apache/phoenix/end2end/TenantSpecificTablesDDLIT.java
--
diff --git 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/TenantSpecificTablesDDLIT.java
 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/TenantSpecificTablesDDLIT.java
index 591efe1..89a67b5 100644
--- 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/TenantSpecificTablesDDLIT.java
+++ 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/TenantSpecificTablesDDLIT.java
@@ -179,7 +179,7 @@ public class TenantSpecificTablesDDLIT extends 
BaseTenantSpecificTablesIT {
 public void testBaseTableWrongFormatWithTenantTypeId() throws Exception {
 // only two PK columns for multi_tenant, multi_type
 try {
-createTestTable(getUrl(), CREATE TABLE BASE_TABLE2 (TENANT_ID 
VARCHAR NOT NULL PRIMARY KEY, ID VARCHAR NOT NULL, A INTEGER) 
MULTI_TENANT=true, null, nextTimestamp());
+createTestTable(getUrl(), CREATE TABLE BASE_TABLE2 (TENANT_ID 
VARCHAR NOT NULL PRIMARY KEY, ID VARCHAR, A INTEGER) MULTI_TENANT=true, null, 
nextTimestamp());
 fail();
 }
 catch (SQLException expected) {

http://git-wip-us.apache.org/repos/asf/phoenix/blob/48a2482b/phoenix-core/src/main/java/org/apache/phoenix/schema/MetaDataClient.java
--
diff --git 
a/phoenix-core/src/main/java/org/apache/phoenix/schema/MetaDataClient.java 
b/phoenix-core/src/main/java/org/apache/phoenix/schema/MetaDataClient.java
index fee329d..9b744e1 100644
--- a/phoenix-core/src/main/java/org/apache/phoenix/schema/MetaDataClient.java
+++ b/phoenix-core/src/main/java/org/apache/phoenix/schema/MetaDataClient.java
@@ -993,15 +993,17 @@ public class MetaDataClient {
 
.setColumnName(colDef.getColumnDefName().getColumnName()).build().buildException();
 }
 isPK = true;
+} else {
+// do not allow setting NOT-NULL constraint on non-primary 
columns.
+if (  Boolean.FALSE.equals(colDef.isNull()) 
+( isPK || ( pkConstraint != null  
!pkConstraint.contains(colDef.getColumnDefName() {
+throw new 

Apache-Phoenix | 3.0 | Hadoop1 | Build Successful

2014-09-20 Thread Apache Jenkins Server
3.0 branch build status Successful
Source repository https://git-wip-us.apache.org/repos/asf/phoenix.git

Last Successful Compiled Artifacts https://builds.apache.org/job/Phoenix-3.0-hadoop1/lastSuccessfulBuild/artifact/

Last Complete Test Report https://builds.apache.org/job/Phoenix-3.0-hadoop1/lastCompletedBuild/testReport/

Changes
[jtaylor] PHOENIX-1266 Disallow setting NOT NULL constraint on non PK columns



Apache-Phoenix | 4.0 | Hadoop1 | Build Successful

2014-09-20 Thread Apache Jenkins Server
4.0 branch build status Successful

Source repository https://git-wip-us.apache.org/repos/asf/incubator-phoenix.git

Compiled Artifacts https://builds.apache.org/job/Phoenix-4.0-hadoop1/lastSuccessfulBuild/artifact/

Test Report https://builds.apache.org/job/Phoenix-4.0-hadoop1/lastCompletedBuild/testReport/

Changes
[jtaylor] PHOENIX-1266 Disallow setting NOT NULL constraint on non PK columns



Apache-Phoenix | Master | Hadoop1 | Build Successful

2014-09-20 Thread Apache Jenkins Server
Master branch build status Successful
Source repository https://git-wip-us.apache.org/repos/asf/incubator-phoenix.git

Last Successful Compiled Artifacts https://builds.apache.org/job/Phoenix-master-hadoop1/lastSuccessfulBuild/artifact/

Last Complete Test Report https://builds.apache.org/job/Phoenix-master-hadoop1/lastCompletedBuild/testReport/

Changes
[jtaylor] PHOENIX-1266 Disallow setting NOT NULL constraint on non PK columns