This is an automated email from the ASF dual-hosted git repository.

gangwu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/parquet-format.git


The following commit(s) were added to refs/heads/master by this push:
     new 9b040cc  PARQUET-2257: Add bloom_filter_length to ColumnMetaData (#194)
9b040cc is described below

commit 9b040ccbec388a5e664976ea8dda7b60bde02685
Author: Gang Wu <[email protected]>
AuthorDate: Sat Apr 15 21:09:54 2023 +0800

    PARQUET-2257: Add bloom_filter_length to ColumnMetaData (#194)
---
 src/main/thrift/parquet.thrift | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/src/main/thrift/parquet.thrift b/src/main/thrift/parquet.thrift
index 54beb47..643309b 100644
--- a/src/main/thrift/parquet.thrift
+++ b/src/main/thrift/parquet.thrift
@@ -753,6 +753,14 @@ struct ColumnMetaData {
 
   /** Byte offset from beginning of file to Bloom filter data. **/
   14: optional i64 bloom_filter_offset;
+
+  /** Size of Bloom filter data including the serialized header, in bytes.
+   * Added in 2.10 so readers may not read this field from old files and
+   * it can be obtained after the BloomFilterHeader has been deserialized.
+   * Writers should write this field so readers can read the bloom filter
+   * in a single I/O.
+   */
+  15: optional i32 bloom_filter_length;
 }
 
 struct EncryptionWithFooterKey {

Reply via email to