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 c766945  PARQUET-2299: Use `true` instead of `1` as default value for 
boolean (#210)
c766945 is described below

commit c766945d90935ebcd4e03fee13aad2b6efcadce3
Author: Matthijs Brobbel <[email protected]>
AuthorDate: Fri May 12 08:20:15 2023 +0200

    PARQUET-2299: Use `true` instead of `1` as default value for boolean (#210)
---
 src/main/thrift/parquet.thrift | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/thrift/parquet.thrift b/src/main/thrift/parquet.thrift
index aa4375b..5f50f00 100644
--- a/src/main/thrift/parquet.thrift
+++ b/src/main/thrift/parquet.thrift
@@ -581,7 +581,7 @@ struct DataPageHeaderV2 {
   definition_levels_byte_length + repetition_levels_byte_length + 1 and 
compressed_page_size (included)
   is compressed with the compression_codec.
   If missing it is considered compressed */
-  7: optional bool is_compressed = 1;
+  7: optional bool is_compressed = true;
 
   /** optional statistics for the data in this page **/
   8: optional Statistics statistics;

Reply via email to