Promote shuffle and coalescing contracts to root-safe API [databricks] #16546
All Vouch review confidence checks passed
Residual risk 0.17 = Change Risk (0.39) × (1 − Review Confidence (0.57)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.39 · 244 lines diff across 3 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.329
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #16546"
general
weight: 0.35
sdrp713
Related to #15821.
Description
Move six existing shuffle, coalescing, CPU-bridge priority, and compression configuration types from
sql-pluginto the root-safesql-plugin-apimodule. Their package names and implementations stay the same; seven generated class files move fromspark-sharedto the conventional JAR root.Keep
ShuffledBatchRDDPartitioninsql-plugin. Promoting it caused the Databricks 18.3 distribution build to fail the cross-shim byte-identity audit when assembling Spark 3.5.0 and Databricks 18.3 worlds. The other promoted types passed that audit in the local multi-shim builds. This changes class placement only; it adds no configuration and changes no partitioning, scheduling, coalescing, or compression logic. AI assistance was used to prepare the move and validation.Validation: clean bounded multi-shim
distbuilds passed for Scala 2.12 (Spark 3.3.4, 3.4.4, 3.5.9) and Scala 2.13 (Spark 3.5.0, 3.5.9, 4.0.4, 4.1.3, 4.2.0), including package-phase audits. Both assembled JARs have the seven promoted class files at the root andShuffledBatchRDDPartitionplus its companion inspark-shared, with no root copies. ExistingCoalescedBatchPartitionerSuiteandGpuCpuBridgeThreadPoolSuitetests passed (5/5 on Spark 3.3.4). The Databricks 18.3 pairing remains to be verified by CI; its runtime JARs are not available in the local OSS matrix.Checklists
Documentation
Testing
(
CoalescedBatchPartitionerSuiteandGpuCpuBridgeThreadPoolSuite, 5/5)Performance
Only class ownership and JAR placement change; no runtime logic or per-operation work was added.