rfc: configurable RapidsFileIO and per-scheme storage access [skip ci] #17054
All Vouch review confidence checks passed
Residual risk 0.37 = Change Risk (0.65) × (1 − Review Confidence (0.43)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.65 · 330 lines diff across 4 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
Diff Size
diff_size
0.347
Shallow Review Depth
shallow_review_depth
0.344
Sensitive Paths
sensitive_paths
0.065
Real PR Conversation Timeline
1 comments
"Review active on #17054"
general
weight: 0.35
gerashegalov
Contributes to #17025.
Description
Today
HadoopFileIObacks every non-Iceberg data-file path throughRapidsFileIO. Iceberg table reads and writes use the table’s ownFileIOthroughIcebergFileIO. An application that needs its own storage backend alongside Hadoop must change the plugin to use that backend as aRapidsFileIO.The proposal lets a Spark SQL session choose its implementation with
spark.rapids.sql.fileio.impl(under the plugin’s standardspark.rapids.sql.prefix). Applications can name one class for RAPIDS Parquet/ORC reads, GPU file-format writes, and OSS Delta on-disk deletion vectors with pushdown enabled, or chooseResolvingRapidsFileIOto select a class each time an input or output file is created. Custom classes receive their scoped string options through a public JavaMapconstructor (and should load secrets from their own credential provider or use keys matched byspark.redaction.regex). Driver planning validates both the top-level and configured per-scheme custom classes, modifiers, constructor signatures, and scheme-key casings (supporting dotted URI schemes while preserving dotted options) eagerly. Parquet/ORC reader factories and write jobs broadcastFileIOConfig(registered inGpuKryoRegistrator) and constructRapidsFileIOlazily once per task on executors; implementations must be thread-safe andAutoCloseableinstances are closed via Spark task completion listeners. Non-FileIO formats (CSV, JSON, Avro, Hive delimited text), legacy/Databricks Delta deletion vectors, Spark filesystem/committer operations (committers interceptingFileSystem.createsuch as the S3A magic committer are unsupported), Iceberg tables, and Parquet dictionary/Bloom filter pruning continue to use their existing paths. The RFC also clarifies the relationship toHadoopFileIOinput-file providers (#17009, #17200).Existing jobs can keep using their Hadoop settings and files. Read the RFC.
I checked the description of the current I/O paths against
mainand verified the rendered Markdown and configuration examples.AI assistance was used to prepare this RFC.
Checklists
Documentation
Testing
Performance