Skip to content

[Python] Make beam.managed.ICEBERG_CDC public - #41654

Merged
ahmedabu98 merged 2 commits into
apache:masterfrom
ahmedabu98:python-managed-iceberg-cdc
Nov 25, 2026
Merged

ahmedabu98 merged 2 commits into
apache:masterfrom
ahmedabu98:python-managed-iceberg-cdc

Conversation

@ahmedabu98

Copy link
Copy Markdown
Contributor

Exposes beam.managed.ICEBERG_CDC, so Python pipelines can read an Iceberg table's changes with beam.managed.Read(beam.managed.ICEBERG_CDC, ...) instead of passing the raw "iceberg_cdc" string. The transform is already covered by the YAML ReadFromIcebergCDC ITs.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📋 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.py and CHANGES.md are clean, accurate, and properly wired to ManagedTransforms.Urns.ICEBERG_CDC_READ.urn and MANAGED_TRANSFORM_URN_TO_JAR_TARGET_MAPPING.

💡 Tip: Comment /gemini review on this pull request to trigger a new Gemini code review.

@codecov

codecov Bot commented Nov 24, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 58.74%. Comparing base (f223f42) to head (8f76a02).
⚠️ Report is 1 commits behind head on master.

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           
Flag Coverage Δ
python 80.68% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@github-actions

Copy link
Copy Markdown
Contributor

Assigning reviewers:

R: @shunping for label python.
Backup reviewer: damccorm (if the main reviewer is unresponsive, you can escalate to them by tagging their username)

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 assign to next reviewer.

Available commands:

  • stop reviewer notifications - opt out of the automated review tooling
  • remind me after tests pass - tag the comment author after tests pass
  • waiting on author - shift the attention set back to the author (any comment or push by the author will return the attention set to the reviewers)

The PR bot will only process comments in the main thread (not review comments).

@shunping shunping left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@ahmedabu98
ahmedabu98 merged commit db0f936 into apache:master Nov 25, 2026
86 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants