You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@parquet.apache.org by ap...@apache.org on 2022/09/29 07:50:29 UTC

[parquet-testing] branch master updated: PARQUET-2187: Update rle_boolean_encoding file with more rows

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

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


The following commit(s) were added to refs/heads/master by this push:
     new e13af11  PARQUET-2187: Update rle_boolean_encoding file with more rows
e13af11 is described below

commit e13af117de7c4f0a4d9908ae3827b3ab119868f3
Author: Nishanth Thimmegowda <ni...@snowflake.com>
AuthorDate: Thu Sep 29 00:50:24 2022 -0700

    PARQUET-2187: Update rle_boolean_encoding file with more rows
    
    The previous file with RLE encoding with boolean type had only 7 rows, which did not use `rle-run` part of the encoded data
    
    RLE encoding has a combination of` <bit-packed-run>` and ` <rle-run>` . [RLE encoding ](https://parquet.apache.org/docs/file-format/data-pages/encodings/#a-namerlearun-length-encoding--bit-packing-hybrid-rle--3)
    
    `run := <bit-packed-run> | <rle-run>`
    
    Replacing with a new file with more data (68 rows) , produced by the following statement. This ensures we will have coverage for both `bit-packed` decoding and `rle-run` decoding
    
    Create with Athena.
    
    insert into  boolean_datatype_athena VALUES (true), (false), (null), (true), (true), (false), (false), (true) ,  (true), (true), (false), (false), (true),
     (true), (false), (null), (true), (true), (false), (false), (true) , (true), (false), (null), (true), (true), (false), (false), (true) ,  (true), (true), (false), (false) , (false), (false), (true) , (true), (false), (null), (true), (true), (false), (false), (true) ,  (true), (true), (false), (false), (null), (true), (true), (false), (false), (true) ,  (true), (true) ,(false), (true) , (true), (false), (null), (true), (true), (false), (false), (true) ,  (true), (true)  ;
---
 data/rle_boolean_encoding.parquet | Bin 168 -> 192 bytes
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/data/rle_boolean_encoding.parquet b/data/rle_boolean_encoding.parquet
index 9b90e01..6a6de0a 100644
Binary files a/data/rle_boolean_encoding.parquet and b/data/rle_boolean_encoding.parquet differ