feat(scan): carry the data file's split offsets on FileScanTask #3704
All Vouch review confidence checks passed
Residual risk 0.19 = Change Risk (0.36) × (1 − Review Confidence (0.47)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.36 · 204 lines diff across 2 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
Shallow Review Depth
shallow_review_depth
0.344
Diff Size
diff_size
0.318
Real PR Conversation Timeline
1 comments
"Review active on #3704"
general
weight: 0.35
JeonDaehong
Which issue does this PR close?
<!--
We generally require a GitHub issue to be filed for all bug fixes and enhancements and this helps us generate change logs for our releases. You can link an issue to this PR using the GitHub syntax. For example
Closes #123indicates that this PR will close issue #123.-->
What changes are included in this PR?
An engine that splits a data file into several read tasks must cut on the row-group boundaries the writer recorded as
split_offsets(spec field 132), or a split can land inside a row group and one of the two tasks opens the file for nothing.FileScanTaskhad no way to hand them on, so an engine planning with iceberg-rust had to split arithmetically.FileScanTask::split_offsets: Option<Vec<i64>>, builder default, accessor, serde in both directions;Nonewhen the writer recorded none.DataFileinManifestEntryContext:: into_file_scan_task.TableTestFixture::setup_manifest_files_with_split_offsetsand a scan test covering recorded, empty and absent offsets; the serde round-trip test carries the field.<!--
Provide a summary of the modifications in this PR. List the main changes such as new features, bug fixes, refactoring, or any other updates.
-->
Are these changes tested?
<!--
Specify what test covers (unit test, integration test, etc.).
If tests are not included in your PR, please explain why (for example, are they covered by existing tests)?
-->
AI Disclosure
Used claude
<!--
https://iceberg.apache.org/contribute/#guidelines-for-ai-assisted-contributions
-->