Skip to content

Commit

Permalink
PARQUET-2187: Update rle_boolean_encoding file with more rows
Browse files Browse the repository at this point in the history
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)  ;
  • Loading branch information
sfc-gh-nthimmegowda authored Sep 29, 2022
1 parent 19fcd4d commit e13af11
Showing 1 changed file with 0 additions and 0 deletions.
Binary file modified data/rle_boolean_encoding.parquet
Binary file not shown.

0 comments on commit e13af11

Please sign in to comment.