Add GPU Parquet support for Delta server-side planned scans #16350
All Vouch review confidence checks passed
Residual risk 0.17 = Change Risk (0.43) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.43 · 356 lines diff across 4 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.352
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #16350"
general
weight: 0.35
sdrp713
Fixes #16349.
Description
Add GPU Parquet support for Delta 4.2 and 4.3’s DataSource V2
ServerSidePlannedScan.The implementation wraps Delta’s original scan and preserves its planning inputs, cached planning result, authoritative file list, input partitions, projected schema, limit semantics, and returned storage credentials. Supported Parquet reading uses the existing RAPIDS readers and reader settings.
Retain CPU execution for unsupported schemas, required read fields, inaccessible Delta reader state, input file metadata expressions, and enabled
ignoreMissingFiles/ignoreCorruptFilessettings. These fallbacks preserve Delta’s CPU results and failure behavior without additional footer reads during planning.Scan equality and hashing depend only on the original Delta scan to preserve exchange and stage reuse. Delta 4.3 reuses the same scan rule as Delta 4.2.
Validation
The existing Delta 4.3 writer test now checks normalized option keys case insensitively.
PERFILE, MULTITHREADED and COALESCING configurations were tested with the current one file per task layout. Small file packing and large file splitting are follow up work.
Performance results
Measured on Spark2a with Spark 4.1.1, Delta 4.2.0, eight GPU executors, and three independent applications per arm.
| Workload | CPU reader mean (s) | GPU reader mean (s) | Speedup |
|---|---:|---:|---:|
| Narrow aggregate | 63.500 | 9.048 | 7.02× |
| Wide decimal aggregate | 235.311 | 17.842 | 13.19× |
| Residual-filter aggregate | 62.400 | 6.333 | 9.85× |
These measurements isolate the scan replacement.
The workload used the
store_salestable from Spark2a’sdelta_sf3k_decimaldataset, pinned to Delta snapshot 0: 1,824 Parquet files totaling approximately 407 GiB. The queries exercised narrow aggregation, wide aggregation over decimal columns, and aggregation with a residual filter.Checklists
Documentation
Testing
(Please provide the names of the existing tests in the PR description.)
Performance