Repository navigation
Conversation
fix: skip manifests with no live entries Avoid opening manifests whose list counts prove there are no added or existing files. Cover normal and copy-on-write planning with a removed dead-only manifest. (cherry picked from commit 14e0919)
Expose the reporter contract and read-only scan report types independently from scan metric collection and delivery. (cherry picked from commit 1a93bf0)
Instrument normal and copy-on-write planning with private, invocation-scoped manifest, data-file, delete-file and deletion-vector counters. Count repeated delete attachments separately from indexed deletes and use DV content sizes for attached bytes. Cover pruning, empty/error paths and independent calls. Production collects and discards these counters until a reporting-integration change consumes them using the result types introduced by PR apache#3709. PlanningCounts is a test-only assertion snapshot; production integration can construct the public result types directly. Duration and stable finalization after early termination remain follow-up work. (cherry picked from commit 36b6610)
Submit operation-scoped reports asynchronously after clean stream exhaustion, with table-level configuration and scan overrides. Preserve stream items and errors, and omit reports for failed or abandoned plans. (cherry picked from commit dcf9dfb)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backport Apache iceberg-rust #3708, #3709, #3732, and #3736 onto
9354b42a, the fork revision currently pinned by ddoghq/dd-source. Target the consumed compatibility branch rather than the fork's stale defaultmain.Adds opt-in, operation-scoped scan counters and asynchronous reporter callbacks after clean planning-stream exhaustion. Partial, failed, and snapshotless planning does not report. Duration includes consumer backpressure; these are planning metrics, not physical read metrics. Preserve Arrow 59, reqwest 0.12, and the fork's reader configuration API; adapt delete-file byte accounting to the fork's
u64accessor. No dependency or serialized task-format changes.Validation:
cargo +nightly-2026-04-16 test -p iceberg --lib --no-default-features --locked: 2,239 passed, 2 existing ignored. Formatting and Clippy (--all-targets --no-default-features --locked -- -D warnings) pass.For dd-source consumption, pin all three direct Iceberg patches plus both Apache git-source patches to this branch's exact commit, then regenerate Cargo/Bazel crate metadata. A companion dd-source PR will attach a query-scoped reporter for staging validation.