parquet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ziva...@apache.org
Subject parquet-mr git commit: PARQUET-1185: TestBinary#testBinary unit test fails after PARQUET-1141
Date Wed, 10 Jan 2018 13:54:51 GMT
Repository: parquet-mr
Updated Branches:
  refs/heads/master 2adb657ae -> 3783ca447


PARQUET-1185: TestBinary#testBinary unit test fails after PARQUET-1141

Author: Nandor Kollar <nkollar@cloudera.com>

Closes #444 from nandorKollar/PARQUET-1185 and squashes the following commits:

533aeb4 [Nandor Kollar] PARQUET-1185: TestBinary#testBinary unit test fails after PARQUET-1141
e75adef [Nandor Kollar] PARQUET-1185: TestBinary#testBinary unit test fails after PARQUET-1141
5e919cb [Nandor Kollar] PARQUET-1185: TestBinary#testBinary unit test fails after PARQUET-1141


Project: http://git-wip-us.apache.org/repos/asf/parquet-mr/repo
Commit: http://git-wip-us.apache.org/repos/asf/parquet-mr/commit/3783ca44
Tree: http://git-wip-us.apache.org/repos/asf/parquet-mr/tree/3783ca44
Diff: http://git-wip-us.apache.org/repos/asf/parquet-mr/diff/3783ca44

Branch: refs/heads/master
Commit: 3783ca4476fec8186c867e4e57084e649c318c6b
Parents: 2adb657
Author: Nandor Kollar <nkollar@cloudera.com>
Authored: Wed Jan 10 14:54:01 2018 +0100
Committer: Zoltan Ivanfi <zi@cloudera.com>
Committed: Wed Jan 10 14:54:01 2018 +0100

----------------------------------------------------------------------
 .../test/java/org/apache/parquet/hadoop/thrift/TestBinary.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/parquet-mr/blob/3783ca44/parquet-thrift/src/test/java/org/apache/parquet/hadoop/thrift/TestBinary.java
----------------------------------------------------------------------
diff --git a/parquet-thrift/src/test/java/org/apache/parquet/hadoop/thrift/TestBinary.java
b/parquet-thrift/src/test/java/org/apache/parquet/hadoop/thrift/TestBinary.java
index b0d4feb..a152bba 100644
--- a/parquet-thrift/src/test/java/org/apache/parquet/hadoop/thrift/TestBinary.java
+++ b/parquet-thrift/src/test/java/org/apache/parquet/hadoop/thrift/TestBinary.java
@@ -81,9 +81,9 @@ public class TestBinary {
   private void assertSchema(ParquetMetadata parquetMetadata) {
     List<Type> fields = parquetMetadata.getFileMetaData().getSchema().getFields();
     assertEquals(2, fields.size());
-    assertEquals(Types.required(PrimitiveType.PrimitiveTypeName.BINARY).named("s"), fields.get(0));
+    assertEquals(Types.required(PrimitiveType.PrimitiveTypeName.BINARY).id(1).named("s"),
fields.get(0));
     assertEquals(OriginalType.UTF8, fields.get(0).getOriginalType());
-    assertEquals(Types.required(PrimitiveType.PrimitiveTypeName.BINARY).named("b"), fields.get(1));
+    assertEquals(Types.required(PrimitiveType.PrimitiveTypeName.BINARY).id(2).named("b"),
fields.get(1));
     assertNull(fields.get(1).getOriginalType());
   }
 }


Mime
View raw message