Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add decoder for RLE parquet encoding #10943

Open
jkhaliqi opened this issue Sep 6, 2024 · 0 comments
Open

Add decoder for RLE parquet encoding #10943

jkhaliqi opened this issue Sep 6, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@jkhaliqi
Copy link
Contributor

jkhaliqi commented Sep 6, 2024

Description

Parquet reader in velox does not support reading of RLE encoded columns. The following error is currently seen when trying to read Parquet V2 file, the table contains a boolean column type that is RLE encoded:

presto:fakeschema> select * from mytable;

Query 20240906_184937_00008_c444g, FAILED, 1 node
Splits: 32 total, 32 done (100.00%)
[Latency: client-side: 299ms, server-side: 238ms] [0 rows, 0B] [0 rows/s, 0B/s]

Query 20240906_184937_00008_c444g failed:  Encoding not supported yet: RLE Split [Hive: file:/Users/jacobkhaliqi/develop/presto_home/data/hive_data/fakeschema/mytable/20240905_225434_00005_wvwa4_1fa6c816-4d48-4bd1-ac7b-3eda9f4b6007 0 - 156] Task 20240906_184937_00008_c444g.1.0.0.0
parquet-tools: error: unexpected argument help
jacobkhaliqi@Jacobs-MBP mytable % parquet-tools meta 20240905_225434_00005_wvwa4_1fa6c816-4d48-4bd1-ac7b-3eda9f4b6007
{"NumRowGroups":1,"RowGroups":[{"NumRows":1,"TotalByteSize":50,"Columns":[{"PathInSchema":["Boolean"],"Type":"BOOLEAN","Encodings":["RLE"],"CompressedSize":50,"UncompressedSize":30,"NumValues":1,"NullCount":0,"MaxValue":true,"MinValue":true,"CompressionCodec":"GZIP"}]}]}

This missing feature is documented in #9767 and should be documented as well into #9560. Creating this issue to add a decoder for RLE encoding.
cc: @czentgr @yingsu00 @minhancao @pramodsatya

@jkhaliqi jkhaliqi added the enhancement New feature or request label Sep 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant