You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@parquet.apache.org by ga...@apache.org on 2021/11/02 09:43:57 UTC
[parquet-mr] branch master updated: PARQUET-2101: Fix wrong
descriptions about the default block size (#936)
This is an automated email from the ASF dual-hosted git repository.
gabor pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/parquet-mr.git
The following commit(s) were added to refs/heads/master by this push:
new 59e9f78 PARQUET-2101: Fix wrong descriptions about the default block size (#936)
59e9f78 is described below
commit 59e9f78b8b3a30073db202eb6432071ff71df0ec
Author: Kengo Seki <se...@apache.org>
AuthorDate: Tue Nov 2 18:43:48 2021 +0900
PARQUET-2101: Fix wrong descriptions about the default block size (#936)
---
.../src/main/java/org/apache/parquet/avro/AvroParquetWriter.java | 4 ++--
.../src/main/java/org/apache/parquet/hadoop/ParquetWriter.java | 4 ++--
.../src/main/java/org/apache/parquet/proto/ProtoParquetWriter.java | 4 ++--
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/parquet-avro/src/main/java/org/apache/parquet/avro/AvroParquetWriter.java b/parquet-avro/src/main/java/org/apache/parquet/avro/AvroParquetWriter.java
index faaf580..9d51467 100644
--- a/parquet-avro/src/main/java/org/apache/parquet/avro/AvroParquetWriter.java
+++ b/parquet-avro/src/main/java/org/apache/parquet/avro/AvroParquetWriter.java
@@ -87,8 +87,8 @@ public class AvroParquetWriter<T> extends ParquetWriter<T> {
DEFAULT_IS_VALIDATING_ENABLED);
}
- /** Create a new {@link AvroParquetWriter}. The default block size is 50 MB.The default
- * page size is 1 MB. Default compression is no compression. (Inherited from {@link ParquetWriter})
+ /** Create a new {@link AvroParquetWriter}. The default block size is 128 MB. The default
+ * page size is 1 MB. Default compression is no compression. (Inherited from {@link ParquetWriter})
*
* @param file The file name to write to.
* @param avroSchema The schema to write with.
diff --git a/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/ParquetWriter.java b/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/ParquetWriter.java
index b9953a5..3de9a74 100644
--- a/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/ParquetWriter.java
+++ b/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/ParquetWriter.java
@@ -237,8 +237,8 @@ public class ParquetWriter<T> implements Closeable {
}
/**
- * Create a new ParquetWriter. The default block size is 50 MB.The default
- * page size is 1 MB. Default compression is no compression. Dictionary encoding is disabled.
+ * Create a new ParquetWriter. The default block size is 128 MB. The default
+ * page size is 1 MB. Default compression is no compression. Dictionary encoding is disabled.
*
* @param file the file to create
* @param writeSupport the implementation to write a record to a RecordConsumer
diff --git a/parquet-protobuf/src/main/java/org/apache/parquet/proto/ProtoParquetWriter.java b/parquet-protobuf/src/main/java/org/apache/parquet/proto/ProtoParquetWriter.java
index b113030..a85b4ef 100644
--- a/parquet-protobuf/src/main/java/org/apache/parquet/proto/ProtoParquetWriter.java
+++ b/parquet-protobuf/src/main/java/org/apache/parquet/proto/ProtoParquetWriter.java
@@ -77,8 +77,8 @@ public class ProtoParquetWriter<T extends MessageOrBuilder> extends ParquetWrite
}
/**
- * Create a new {@link ProtoParquetWriter}. The default block size is 50 MB.The default
- * page size is 1 MB. Default compression is no compression. (Inherited from {@link ParquetWriter})
+ * Create a new {@link ProtoParquetWriter}. The default block size is 128 MB. The default
+ * page size is 1 MB. Default compression is no compression. (Inherited from {@link ParquetWriter})
*
* @param file The file name to write to.
* @param protoMessage Protobuf message class