Add ORC and Parquet maintenance regression tests #16968
All Vouch review confidence checks passed
Residual risk 0.16 = Change Risk (0.36) × (1 − Review Confidence (0.57)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.36 · 210 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 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
Diff Size
diff_size
0.320
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #16968"
general
weight: 0.35
firestarman
Fixes #16765.
Fixes #16552.
Description
Spark 4.0.5, 4.1.4, and 4.2.1 added corrected ORC timestamp inference under
TIMESTAMP_NTZand duplicate Parquet field-request detection. The runtime adaptations are already present through #16887, but these maintenance behaviors did not have direct integration-test coverage. This test-only change has no new user-facing behavior.The ORC regression writes physical ORC timestamp values at the top level and inside struct, array, and map types. It reads them under a
TIMESTAMP_NTZsession through the V1 per-file and V2 multithreaded GPU readers, then compares CPU/GPU schemas and data. The Parquet regression requests the same physical field once by field ID and once by case-insensitive name, verifying that both CPU and GPU reportPARQUET_FIELD_REQUESTED_MORE_THAN_ONCE.The focused scenarios were exercised on Spark 4.0.5, 4.1.4, 4.2.1, and Spark 5.0/current Spark master. Each profile ran two ORC reader cases and three Parquet footer modes; Spark 4.0.5, 4.1.4, 4.2.1, and Spark 5.0/current Spark master each completed with 5 passed.
AI assistance was used to prepare the tests and this pull request description; the author reviewed the final diff and text before publication.
Checklists
Documentation
Testing
Performance