phoenix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From maryann...@apache.org
Subject git commit: Add test case (ignored) for PHOENIX-62 Precision loss for decimal type when creation of Immutable Index happens after the record insertion
Date Wed, 05 Mar 2014 21:43:33 GMT
Repository: incubator-phoenix
Updated Branches:
  refs/heads/master 3df8a8275 -> 3747e8afe


Add test case (ignored) for PHOENIX-62 Precision loss for decimal type when creation of Immutable
Index happens after the record insertion


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

Branch: refs/heads/master
Commit: 3747e8afe3b7fdd456a855f1905c9084ca9228de
Parents: 3df8a82
Author: maryannxue <maryannxue@apache.org>
Authored: Wed Mar 5 16:43:15 2014 -0500
Committer: maryannxue <maryannxue@apache.org>
Committed: Wed Mar 5 16:43:15 2014 -0500

----------------------------------------------------------------------
 .../org/apache/phoenix/end2end/index/BaseMutableIndexTest.java     | 2 +-
 .../java/org/apache/phoenix/end2end/index/MutableIndexTest.java    | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-phoenix/blob/3747e8af/phoenix-core/src/test/java/org/apache/phoenix/end2end/index/BaseMutableIndexTest.java
----------------------------------------------------------------------
diff --git a/phoenix-core/src/test/java/org/apache/phoenix/end2end/index/BaseMutableIndexTest.java
b/phoenix-core/src/test/java/org/apache/phoenix/end2end/index/BaseMutableIndexTest.java
index 05da4a1..29b8b22 100644
--- a/phoenix-core/src/test/java/org/apache/phoenix/end2end/index/BaseMutableIndexTest.java
+++ b/phoenix-core/src/test/java/org/apache/phoenix/end2end/index/BaseMutableIndexTest.java
@@ -49,7 +49,7 @@ public class BaseMutableIndexTest extends BaseIndexTest {
                 "   b.char_col2 CHAR(5), " +
                 "   b.int_col2 INTEGER, " +
                 "   b.long_col2 BIGINT, " +
-                "   b.decimal_col2 DECIMAL(31, 10), " +
+                "   b.decimal_col2 DECIMAL, " +
                 "   b.date_col DATE " + 
                 "   CONSTRAINT pk PRIMARY KEY (varchar_pk, char_pk, int_pk, long_pk DESC,
decimal_pk))";
             Properties props = new Properties(TEST_PROPERTIES);

http://git-wip-us.apache.org/repos/asf/incubator-phoenix/blob/3747e8af/phoenix-core/src/test/java/org/apache/phoenix/end2end/index/MutableIndexTest.java
----------------------------------------------------------------------
diff --git a/phoenix-core/src/test/java/org/apache/phoenix/end2end/index/MutableIndexTest.java
b/phoenix-core/src/test/java/org/apache/phoenix/end2end/index/MutableIndexTest.java
index 613fb63..346bf2e 100644
--- a/phoenix-core/src/test/java/org/apache/phoenix/end2end/index/MutableIndexTest.java
+++ b/phoenix-core/src/test/java/org/apache/phoenix/end2end/index/MutableIndexTest.java
@@ -38,6 +38,7 @@ import org.apache.phoenix.util.QueryUtil;
 import org.apache.phoenix.util.ReadOnlyProps;
 import org.apache.phoenix.util.TestUtil;
 import org.junit.BeforeClass;
+import org.junit.Ignore;
 import org.junit.Test;
 
 import com.google.common.collect.Maps;
@@ -784,6 +785,7 @@ public class MutableIndexTest extends BaseMutableIndexTest {
         }
     }
 
+    @Ignore
     @Test
     public void testIndexWithDecimalCol() throws Exception {
         Properties props = new Properties(TEST_PROPERTIES);


Mime
View raw message