You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@phoenix.apache.org by ja...@apache.org on 2014/02/10 09:26:41 UTC

git commit: Don't set keep deleted cells to false for existing cfs of view

Updated Branches:
  refs/heads/master c9609fdb7 -> 04f703eeb


Don't set keep deleted cells to false for existing cfs of view


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

Branch: refs/heads/master
Commit: 04f703eeb21e5016846db078ca392161e86243da
Parents: c9609fd
Author: James Taylor <ja...@apache.org>
Authored: Mon Feb 10 00:26:31 2014 -0800
Committer: James Taylor <ja...@apache.org>
Committed: Mon Feb 10 00:26:31 2014 -0800

----------------------------------------------------------------------
 .../java/org/apache/phoenix/end2end/QueryDatabaseMetaDataTest.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-phoenix/blob/04f703ee/phoenix-core/src/test/java/org/apache/phoenix/end2end/QueryDatabaseMetaDataTest.java
----------------------------------------------------------------------
diff --git a/phoenix-core/src/test/java/org/apache/phoenix/end2end/QueryDatabaseMetaDataTest.java b/phoenix-core/src/test/java/org/apache/phoenix/end2end/QueryDatabaseMetaDataTest.java
index 56e3d86..331ea54 100644
--- a/phoenix-core/src/test/java/org/apache/phoenix/end2end/QueryDatabaseMetaDataTest.java
+++ b/phoenix-core/src/test/java/org/apache/phoenix/end2end/QueryDatabaseMetaDataTest.java
@@ -560,7 +560,7 @@ public class QueryDatabaseMetaDataTest extends BaseClientManagedTimeTest {
         assertEquals(DataBlockEncoding.NONE, cdA.getDataBlockEncoding()); // Overriden using WITH
         assertEquals(1,cdA.getMaxVersions());// Overriden using WITH
         HColumnDescriptor cdB = descriptor.getFamily(cfB);
-        assertTrue(cdB.getKeepDeletedCells());
+        assertFalse(cdB.getKeepDeletedCells()); // Allow KEEP_DELETED_CELLS to be false for VEIW
         assertEquals(DataBlockEncoding.NONE, cdB.getDataBlockEncoding()); // Should keep the original value.
         // CF c should stay the same since it's not a Phoenix cf.
         HColumnDescriptor cdC = descriptor.getFamily(cfC);