Skip to content

Updates Delta CDC read to fail when schemas... (#40868) - #40877

Merged
Amar3tto merged 1 commit into
apache:release-2.78from
chamikaramj:release-2.78
Oct 29, 2026
Merged

Amar3tto merged 1 commit into
apache:release-2.78from
chamikaramj:release-2.78

Conversation

@chamikaramj

Copy link
Copy Markdown
Contributor

...are different at start and end.

Cherry-picks #40868 to the 2.78.0 release branch.

This fixes #40853.

@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 cleanly cherry-picks #40868 to the release-2.78 branch to fix #40853. It introduces DeltaSchemaUtils to validate schema read-compatibility across Delta table versions during CDC reads, ensuring only additive schema changes are permitted between the start and end versions.

🔍 General Feedback

  • The cherry-pick matches the original commit in #40868 with no discrepancies.
  • Schema validation is properly applied both early during pipeline expansion (DeltaIO.ReadChanges.expand) and across intermediate commits (METADATA actions) during task planning (CreateCDCReadTasksDoFn).
  • Unit and integration tests thoroughly cover additive changes, metadata-only changes, column mapping, and rejected non-additive evolutions.

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

@github-actions

Copy link
Copy Markdown
Contributor

Assigning reviewers:

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

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

@codecov

codecov Bot commented Oct 29, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (release-2.78@6e7ce70). Learn more about missing BASE report.

Additional details and impacted files
@@               Coverage Diff               @@
##             release-2.78   #40877   +/-   ##
===============================================
  Coverage                ?        0           
===============================================
  Files                   ?        0           
  Lines                   ?        0           
  Branches                ?        0           
===============================================
  Hits                    ?        0           
  Misses                  ?        0           
  Partials                ?        0           

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

@Amar3tto
Amar3tto merged commit fe2ba42 into apache:release-2.78 Oct 29, 2026
20 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