Repository navigation
Add first part of Iceberg maintenance reachability semantics - #41882
jrmccluskey wants to merge 1 commit into
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #41882 +/- ##
=========================================
Coverage 61.99% 61.99%
Complexity 19293 19293
=========================================
Files 3117 3117
Lines 294266 294266
Branches 15051 15051
=========================================
Hits 182437 182437
Misses 104289 104289
Partials 7540 7540 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
Assigning reviewers: R: @ahmedabu98 for label iceberg. Note: If you would like to opt out of this review, comment Available commands:
The PR bot will only process comments in the main thread (not review comments). |
There was a problem hiding this comment.
📋 Review Summary
This PR adds the initial reachability components for Iceberg table maintenance: safety checks (MaintenanceChecks), table identifier canonicalization and deduplication (ResolveTables), and candidate filtering via set difference (SetDifference). The implementation is clean, well-documented, and thoroughly tested.
🔍 General Feedback
- The length-prefixed key encoding in
ExactLocationPolicycleanly avoids key collisions across table identifiers and paths without requiring complex tuple coders. - Comprehensive unit test coverage across all new transforms, policies, and edge cases.
💡 Tip: Comment /gemini review on this pull request to trigger a new Gemini code review.
Introduce some initial reachability components for Iceberg table maintenance: the check for garbage collection being enabled for tables, processing table identifiers into canonical forms for deduplication, and computing set difference to determine deletion candidates.
Part of #39224 and #39225