DE-Dobby opened a new pull request, #3811: URL: https://github.com/apache/iceberg-rust/pull/3811
## Which issue does this PR close? - Closes #3575. ## What changes are included in this PR? Adds `TableScanBuilder::with_ignore_delete_file_sizes(bool)`, off by default. When it is on, `plan_files` returns delete files with `file_size_in_bytes() == None`, so the Parquet delete-file loader resolves the size with one metadata request, as added in #3433. This is for tables whose recorded delete file sizes are wrong, such as those affected by apache/iceberg#12554. The flag lives on the scan's `DeleteFileIndex`, which clears the size on the delete files it returns. I did it there rather than in the `DeleteFileContext` conversion to avoid touching ~30 existing test call sites; the resulting task is the same. Happy to move it if you prefer the conversion. The only new public item is the builder method. ## Are these changes tested? Yes, two unit tests: one through `plan_files` on a table with a position delete file (default, `false`, `true`), and one on `DeleteFileIndex` covering equality and position deletes. `cargo test -p iceberg --lib --all-features`, `make check-fmt`, `check-clippy`, `check-doc` and `check-public-api` are clean. Integration tests were not run locally. ## AI Disclosure Written with Claude Code. Tests and lints above were run locally. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
