phoenix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jeffr...@apache.org
Subject git commit: RowKeySchemaTest Failure Fxies
Date Mon, 10 Feb 2014 19:48:38 GMT
Updated Branches:
  refs/heads/4.0.0 350017b17 -> 420811dc3


RowKeySchemaTest Failure Fxies


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

Branch: refs/heads/4.0.0
Commit: 420811dc3135b0d52c9c2012497c7eef9182649f
Parents: 350017b
Author: Jeffrey Zhong <jzhong@JZhongs-MacBook-Pro.local>
Authored: Mon Feb 10 11:50:01 2014 -0800
Committer: Jeffrey Zhong <jzhong@JZhongs-MacBook-Pro.local>
Committed: Mon Feb 10 11:50:01 2014 -0800

----------------------------------------------------------------------
 .../java/org/apache/phoenix/schema/RowKeySchemaTest.java     | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-phoenix/blob/420811dc/phoenix-core/src/test/java/org/apache/phoenix/schema/RowKeySchemaTest.java
----------------------------------------------------------------------
diff --git a/phoenix-core/src/test/java/org/apache/phoenix/schema/RowKeySchemaTest.java b/phoenix-core/src/test/java/org/apache/phoenix/schema/RowKeySchemaTest.java
index a3f455e..4cc136d 100644
--- a/phoenix-core/src/test/java/org/apache/phoenix/schema/RowKeySchemaTest.java
+++ b/phoenix-core/src/test/java/org/apache/phoenix/schema/RowKeySchemaTest.java
@@ -13,13 +13,13 @@ import java.util.List;
 import org.apache.hadoop.hbase.KeyValue;
 import org.apache.hadoop.hbase.io.ImmutableBytesWritable;
 import org.apache.hadoop.hbase.util.Pair;
-import org.junit.Test;
-
-import com.google.common.collect.Lists;
 import org.apache.phoenix.jdbc.PhoenixConnection;
 import org.apache.phoenix.query.BaseConnectionlessQueryTest;
 import org.apache.phoenix.util.PhoenixRuntime;
 import org.apache.phoenix.util.SchemaUtil;
+import org.junit.Test;
+
+import com.google.common.collect.Lists;
 
 public class RowKeySchemaTest  extends BaseConnectionlessQueryTest  {
 
@@ -68,7 +68,7 @@ public class RowKeySchemaTest  extends BaseConnectionlessQueryTest  {
             }
         }
         int i = 0;
-        int maxOffset = schema.iterator(keyValue.getBuffer(), minOffset, keyValue.getRowLength(),
ptr);
+        int maxOffset = schema.iterator(keyValue.getRowArray(), minOffset, keyValue.getRowLength(),
ptr);
         for (i = 0; i < schema.getFieldCount(); i++) {
             Boolean hasValue = schema.next(ptr, i, maxOffset);
             if (hasValue == null) {


Mime
View raw message