Repository navigation
Conversation
|
@ursabot please benchmark lang=C++ |
|
Benchmark runs are scheduled for commit 57e4f90. Watch https://buildkite.com/apache-arrow and https://conbench.arrow-dev.org for updates. A comment will be posted here when the runs are complete. |
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are reported for the nullable Parquet encoding and decoding optimizations.
No open issues 🎉
What changed in this PR
Optimizes nullable Parquet encoding and decoding by processing validity runs, reducing per-value checks and temporary copies.
Changes:
- Shares run-based encoding and column-writer conversion helpers.
- Unifies byte-array dictionary decoding and appends nulls in batches.
- Optimizes short bitmap appends and tests decoding across batch boundaries.
| File | Description |
|---|---|
| cpp/src/parquet/encoding_test.cc | Tests batched decoding with non-byte-aligned offsets. |
| cpp/src/parquet/encoder.cc | Shares helpers for valid runs and direct buffer compaction. |
| cpp/src/parquet/decoder.cc | Shares batched dictionary decoding and null-run appends. |
| cpp/src/parquet/column_writer.cc | Converts nullable values using validity runs. |
| cpp/src/arrow/buffer_builder.h | Copies and counts short bitmap segments in one pass. |
Review effort: Balanced
57e4f90 to
6bbb7de
Compare
|
@ursabot please benchmark lang=C++ |
|
Benchmark runs are scheduled for commit 6bbb7de. Watch https://buildkite.com/apache-arrow and https://conbench.arrow-dev.org for updates. A comment will be posted here when the runs are complete. |
be9d907 to
01dbf0e
Compare
|
@pitrou Do you want to take a look? |
01dbf0e to
4690168
Compare
|
@ursabot please benchmark lang=C++ |
|
Benchmark runs are scheduled for commit 4690168. Watch https://buildkite.com/apache-arrow and https://conbench.arrow-dev.org for updates. A comment will be posted here when the runs are complete. |
Rationale for this change
Reduce per-value validity checks and temporary copies in Parquet encoding and decoding.
What changes are included in this PR?
Are these changes tested?
Yes.
Are there any user-facing changes?
No.
Was AI used for this PR?
In accordance to the AI generation guidelines, please disclose below whether and how AI was used in this PR.
PR code and description written by:
Reviewed before submission by: