GH-55448: [C++][Parquet] Optimize ALP and support per-column vector sizes #55449
All Vouch review confidence checks passed
Residual risk 0.19 = Change Risk (0.35) × (1 − Review Confidence (0.47)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.35 · 178 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.310
Real PR Conversation Timeline
1 comments
"Review active on #55449"
general
weight: 0.35
pitrou
Rationale for this change
This PR addresses follow-up items from #48345 to improve ALP performance, format compatibility, and writer configuration.
What changes are included in this PR?
EncodingOptionsandAlpOptionsto configure the ALP vector size globally or per column.PutSpaced().Are these changes tested?
Yes. I ran the ALP and Parquet tests and the new benchmarks from #55714.
Are there any user-facing changes?
Yes. Writers can set
AlpOptions::vector_sizethroughWriterProperties::Builder::encoding_options(). The default is 1,024 values. Supported sizes are powers of two from 8 through 32,768.The exported
MakeEncodersignature and writer property layouts change, so C++ consumers need to rebuild.Was AI used for this PR?
AI assisted with implementation, review, test execution, and benchmarking.
PR code and description written by:
Reviewed before submission by: