Repository: phoenix
Updated Branches:
  refs/heads/4.x-HBase-1.1 872847599 -> def7ba3db


PHOENIX-4248 IndexExpressionIT into several integration tests so as not to 
create too many tables in one test (addendum)


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

Branch: refs/heads/4.x-HBase-1.1
Commit: 28875e46d1b2d6c3c1d51061198790d0ea924229
Parents: 8728475
Author: James Taylor <[email protected]>
Authored: Thu Sep 28 20:55:15 2017 -0700
Committer: James Taylor <[email protected]>
Committed: Thu Sep 28 21:30:03 2017 -0700

----------------------------------------------------------------------
 .../phoenix/end2end/index/IndexWithTableSchemaChangeIT.java     | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/phoenix/blob/28875e46/phoenix-core/src/it/java/org/apache/phoenix/end2end/index/IndexWithTableSchemaChangeIT.java
----------------------------------------------------------------------
diff --git 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/index/IndexWithTableSchemaChangeIT.java
 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/index/IndexWithTableSchemaChangeIT.java
index 61ec030..aad7f73 100644
--- 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/index/IndexWithTableSchemaChangeIT.java
+++ 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/index/IndexWithTableSchemaChangeIT.java
@@ -424,10 +424,9 @@ public class IndexWithTableSchemaChangeIT extends 
ParallelStatsDisabledIT {
 
         // make sure that the tables are empty, but reachable
         conn.createStatement().execute(
-          "CREATE TABLE " + dataTableFullName
+          "CREATE " + (immutable ? "IMMUTABLE" : "") + " TABLE " + 
dataTableFullName
               + " (k VARCHAR NOT NULL PRIMARY KEY, v1 VARCHAR, v2 VARCHAR) "
-              + (immutable ? "IMMUTABLE_ROWS = true" : "")
-              + (!columnEncoded ? ",IMMUTABLE_STORAGE_SCHEME=" + 
PTable.ImmutableStorageScheme.ONE_CELL_PER_COLUMN : ""));
+              + (!columnEncoded ? "IMMUTABLE_STORAGE_SCHEME=" + 
PTable.ImmutableStorageScheme.ONE_CELL_PER_COLUMN : ""));
         query = "SELECT * FROM " + dataTableFullName;
         rs = conn.createStatement().executeQuery(query);
         assertFalse(rs.next());

Reply via email to