Repository navigation
[Python] Make beam.managed.ICEBERG_CDC public - #41654
Conversation
There was a problem hiding this comment.
📋 Review Summary
This PR makes beam.managed.ICEBERG_CDC public in the Python SDK and exports it in __all__, enabling users to invoke beam.managed.Read(beam.managed.ICEBERG_CDC, ...) without passing a raw string literal. It also records the new public symbol in CHANGES.md.
🔍 General Feedback
- The changes in
sdks/python/apache_beam/transforms/managed.pyandCHANGES.mdare clean, accurate, and properly wired toManagedTransforms.Urns.ICEBERG_CDC_READ.urnandMANAGED_TRANSFORM_URN_TO_JAR_TARGET_MAPPING.
💡 Tip: Comment /gemini review on this pull request to trigger a new Gemini code review.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #41654 +/- ##
=========================================
Coverage 58.73% 58.74%
Complexity 2315 2315
=========================================
Files 1135 1135
Lines 170483 170502 +19
Branches 1499 1499
=========================================
+ Hits 100133 100153 +20
+ Misses 67803 67802 -1
Partials 2547 2547
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
Assigning reviewers: R: @shunping for label python. This pull request likely touches a core component ("core" label). Please review with scrutiny. 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). |
Exposes
beam.managed.ICEBERG_CDC, so Python pipelines can read an Iceberg table's changes withbeam.managed.Read(beam.managed.ICEBERG_CDC, ...)instead of passing the raw"iceberg_cdc"string. The transform is already covered by the YAMLReadFromIcebergCDCITs.