apache / apache/arrow-rs

[parquet] reader perf - avoid some rle decode loop senarios in read_def_levels

Open
#9,254 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
3.6k
Forks
1.3k
Avg merge
2d 14h
Merged PRs (30d)
167

Description

can we skip rle decode loop when all values in a batch are valid (have max definition level)?

Contributor guide

Open the contributing guide

Research direction

Start by locating the Parquet reader's read_def_levels entry point and inspect how the RLE decode loop handles batches whose values all have the maximum definition level. Confirm the expected behavior with the surrounding reader logic; done means those fully valid batches avoid unnecessary RLE decoding without changing definition-level results.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
data-engineering
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.