parquet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b...@apache.org
Subject incubator-parquet-mr git commit: PARQUET-239: Make AvroParquetReader#builder static.
Date Tue, 07 Apr 2015 20:43:09 GMT
Repository: incubator-parquet-mr
Updated Branches:
  refs/heads/master 920192a54 -> b61362933


PARQUET-239: Make AvroParquetReader#builder static.

Fixes new API method added since 1.5.0.

Author: Ryan Blue <blue@apache.org>

Closes #158 from rdblue/PARQUET-239-fix-avro-builder and squashes the following commits:

c8c64d7 [Ryan Blue] PARQUET-239: Make AvroParquetReader#builder static.


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

Branch: refs/heads/master
Commit: b61362933f7a564d2ae0b7d6b9723f79f4948769
Parents: 920192a
Author: Ryan Blue <blue@apache.org>
Authored: Tue Apr 7 13:43:06 2015 -0700
Committer: Ryan Blue <blue@apache.org>
Committed: Tue Apr 7 13:43:06 2015 -0700

----------------------------------------------------------------------
 parquet-avro/src/main/java/parquet/avro/AvroParquetReader.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-parquet-mr/blob/b6136293/parquet-avro/src/main/java/parquet/avro/AvroParquetReader.java
----------------------------------------------------------------------
diff --git a/parquet-avro/src/main/java/parquet/avro/AvroParquetReader.java b/parquet-avro/src/main/java/parquet/avro/AvroParquetReader.java
index 4771640..ca65de9 100644
--- a/parquet-avro/src/main/java/parquet/avro/AvroParquetReader.java
+++ b/parquet-avro/src/main/java/parquet/avro/AvroParquetReader.java
@@ -32,7 +32,7 @@ import parquet.hadoop.ParquetReader;
  */
 public class AvroParquetReader<T extends IndexedRecord> extends ParquetReader<T>
{
 
-  public Builder<T> builder(Path file) {
+  public static <T extends IndexedRecord> Builder<T> builder(Path file) {
     return ParquetReader.builder(new AvroReadSupport<T>(), file);
   }
 


Mime
View raw message