Repository: phoenix Updated Branches: refs/heads/4.x-HBase-1.2 c75ea4ead -> 5d250bb1e
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/62f2b6bf Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/62f2b6bf Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/62f2b6bf Branch: refs/heads/4.x-HBase-1.2 Commit: 62f2b6bf8652fc95689ddb710673e19e1523e84f Parents: c75ea4e Author: James Taylor <[email protected]> Authored: Thu Sep 28 20:55:15 2017 -0700 Committer: James Taylor <[email protected]> Committed: Thu Sep 28 21:31:15 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/62f2b6bf/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());
