GH-55576: [C++][Parquet] Fast path for reading fixed-size lists #55577
All Vouch review confidence checks passed
Residual risk 0.20 = Change Risk (0.37) × (1 − Review Confidence (0.47)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.37 · 224 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Shallow Review Depth
shallow_review_depth
0.344
Diff Size
diff_size
0.324
Real PR Conversation Timeline
1 comments
"Review active on #55577"
general
weight: 0.35
Mola-maker
Closes #55576.
Rationale for this change
Parquet reader uses the general list path for fixed-size lists as well. It unpacks the markers that tell it which values are present and where each list starts. It does a lot of extra work that is not necessary for a fixed-sized list.
What changes are included in this PR?
Are these changes tested?
| Values per list | Old Read | New Fast Read | Median speedup |
| ---: | ---: | ---: | ---: |
| 1 | 66.29 ms | 11.18 ms | 5.93× |
| 3 | 96.55 ms | 32.26 ms | 2.99× |
| 8 | 70.52 ms | 28.95 ms | 3.12× |
| 9 | 73.10 ms | 26.72 ms | 2.73× |
| 15 | 130.86 ms | 28.95 ms | 3.56× |
| 16 | 131.27 ms | 30.11 ms | 3.69× |
| 768 | 86.65 ms | 30.81 ms | 1.90× |
| 1,024 | 77.92 ms | 23.95 ms | 2.56× |
| 2,048 | 68.88 ms | 26.27 ms | 2.40× |
| 4,096 | 65.41 ms | 26.25 ms | 2.61× |
Are there any user-facing changes?
Supported numeric fixed-size lists use the faster reader automatically. This also works with existing Parquet files that store the Arrow fixed-size-list type.
Was AI used for this PR?
Codex helped make the tests and write benchmark tests.
PR code and description written by
Reviewed before submission by
Proposal: https://github.com/rok/arrow/issues/61
Related reference: https://github.com/apache/arrow/pull/55197