Skip to content

[Iceberg CDC source] Allow dropping PK or watermark columns - #40457

Open
ahmedabu98 wants to merge 1 commit into
apache:masterfrom
ahmedabu98:cdc-read-keep-columns
Open

ahmedabu98 wants to merge 1 commit into
apache:masterfrom
ahmedabu98:cdc-read-keep-columns

Conversation

@ahmedabu98

Copy link
Copy Markdown
Contributor

Allows dropping primary key columns or watermark column in CDC reads. The source still reads them internally to function properly, then drops them in a final step. Configurations that are valid today keep the same graph and coders, so this is update compatible.


Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

  • Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
  • Update CHANGES.md with noteworthy changes.
  • If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md

GitHub Actions Tests Status (on master branch)

Build python source distribution and wheels
Python tests
Java tests
Go tests

See CI.md for more information about GitHub Actions CI or the workflows README for a list of workflows and how to trigger them.

@github-actions github-actions Bot added java io iceberg Iceberg IO connector labels Oct 7, 2026
@ahmedabu98

Copy link
Copy Markdown
Contributor Author

assign set of reviewers

@github-actions

github-actions Bot commented Oct 7, 2026

Copy link
Copy Markdown
Contributor

Assigning reviewers:

R: @Abacn for label java.
R: @chamikaramj for label iceberg.

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).

@ahmedabu98

Copy link
Copy Markdown
Contributor Author

Java unit tests failing for irrelevant reason (see #40448).

@codecov

codecov Bot commented Oct 7, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 58.75%. Comparing base (69bdf5f) to head (b0c7cbd).
⚠️ Report is 43 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master   #40457      +/-   ##
============================================
- Coverage     59.04%   58.75%   -0.29%     
+ Complexity    15624    13920    -1704     
============================================
  Files          2797     2584     -213     
  Lines        280750   271511    -9239     
  Branches      12488    11243    -1245     
============================================
- Hits         165764   159531    -6233     
+ Misses       108540   105979    -2561     
+ Partials       6446     6001     -445     
Flag Coverage Δ
java 65.27% <ø> (-0.17%) ⬇️

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.

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.

1 participant