Skip to content

fix: schema evolution for merge operation#3945

Merged
ion-elgreco merged 3 commits intodelta-io:mainfrom
JustinRush80:bug/schema_evo_merge
Dec 13, 2025
Merged

fix: schema evolution for merge operation#3945
ion-elgreco merged 3 commits intodelta-io:mainfrom
JustinRush80:bug/schema_evo_merge

Conversation

@JustinRush80
Copy link
Copy Markdown
Contributor

@JustinRush80 JustinRush80 commented Nov 22, 2025

Description

Fix Schema Evolution in MERGE operation when there are chained expression such as
when_not_matched_insert_all().when_matched_update_all().execute()

Related Issue(s)

Documentation

@github-actions github-actions bot added binding/python Issues for the Python package binding/rust Issues for the Rust crate labels Nov 22, 2025
@github-actions
Copy link
Copy Markdown

ACTION NEEDED

delta-rs follows the Conventional Commits specification for release automation.

The PR title and description are used as the merge commit message. Please update your PR title and description to match the specification.

@JustinRush80 JustinRush80 changed the title fix schema evolution for merge operation fix: schema evolution for merge operation Nov 22, 2025
@JustinRush80 JustinRush80 marked this pull request as ready for review November 22, 2025 18:46
@codecov
Copy link
Copy Markdown

codecov bot commented Nov 22, 2025

Codecov Report

❌ Patch coverage is 97.70992% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 74.34%. Comparing base (260c872) to head (504deb6).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
crates/core/src/operations/merge/mod.rs 97.70% 0 Missing and 3 partials ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##             main    #3945       +/-   ##
===========================================
+ Coverage   26.22%   74.34%   +48.11%     
===========================================
  Files         124      152       +28     
  Lines       19887    39778    +19891     
  Branches    19887    39778    +19891     
===========================================
+ Hits         5216    29572    +24356     
+ Misses      14301     8869     -5432     
- Partials      370     1337      +967     

☔ View full report in Codecov by Sentry.
📢 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.

@ion-elgreco
Copy link
Copy Markdown
Collaborator

Thanks @JustinRush80 :)

@ion-elgreco ion-elgreco enabled auto-merge (squash) December 11, 2025 10:48
Signed-off-by: JustinRush80 <69156844+JustinRush80@users.noreply.github.com>
Signed-off-by: JustinRush80 <69156844+JustinRush80@users.noreply.github.com>
Signed-off-by: JustinRush80 <69156844+JustinRush80@users.noreply.github.com>
@ion-elgreco ion-elgreco merged commit 3469c37 into delta-io:main Dec 13, 2025
29 checks passed
ethan-tyler pushed a commit to ethan-tyler/delta-rs that referenced this pull request Jan 9, 2026
# Description
Fix Schema Evolution in MERGE operation when there are chained
expression such as
when_not_matched_insert_all().when_matched_update_all().execute()

# Related Issue(s)

- closes delta-io#3943


# Documentation

<!---
Share links to useful documentation
--->

---------

Signed-off-by: JustinRush80 <69156844+JustinRush80@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

binding/python Issues for the Python package binding/rust Issues for the Rust crate

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

[Bug]: Table merging fails with merge_schema=True

2 participants