Convert DeltaParquetFileFormatV2 from Java to Scala #7890
All Vouch review confidence checks passed
Residual risk 0.14 = Change Risk (0.35) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.35 · 169 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.307
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #7890"
general
weight: 0.35
huan233usc
Which Delta project/connector is this regarding?
Description
Convert
DeltaParquetFileFormatV2from Java to Scala. Keep the inherited file-format behavior, equality comparisons, serial version UID, andprivate[v2]Scala visibility.The Scala constructor accepts
Option[Boolean]directly. Java factories retain their boxed Boolean option and adapt it once at the constructor boundary, preservingSome(null). Removing the eager payload cast changes validation timing for malformed option inputs. Application performance has not been benchmarked.How was this patch tested?
Spark 4.0, 4.1, and 4.2 compilation passed. Spark 4.2 passed 32 existing tests, with zero failures or skips and the same case names/outcomes as the preceding validated conversion. Changed-source Scala formatting passed. No test cases, expectations, or skips were added or weakened.
Validated commit:
ce51a8651f2d6568af4300c164465efad6759c69on master baseline3ffc5356f2e42cdcb59daeb060815855729baf18.Does this PR introduce _any_ user-facing changes?
No.