Skip to content

tests: add SLT test coverage for MERGE INTO - #24174

Merged
alamb merged 1 commit into
apache:mainfrom
alamb:alamb/merge_into_slt
Aug 8, 2026
Merged

tests: add SLT test coverage for MERGE INTO#24174
alamb merged 1 commit into
apache:mainfrom
alamb:alamb/merge_into_slt

Conversation

@alamb

@alambalamb commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Which issue does this PR close?

Rationale for this change

In addition to planning for MERGE INTO I think we should have some SQL level tests . Since the default MemTable doesn't implement MERGE INTO we can mostly only test the planning, but we should still add the coverage I think

What changes are included in this PR?

Add slt tests for MERGE INTO, with mostly explain plan coverage

Are these changes tested?

Only tests

Are there any user-facing changes?

No

@alamb
alambforce-pushed the alamb/merge_into_slt branch from c19f59b to fffede8CompareAugust 7, 2026 20:31
@alamb
alamb marked this pull request as ready for review August 7, 2026 20:31
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 81.06%. Comparing base (634f0b3) to head (fffede8).

Additional details and impacted files
@@ Coverage Diff @@## main #24174 +/- ##
=======================================
Coverage 81.06% 81.06% =======================================
Files 1107 1107 Lines 382191 382191 Branches 382191 382191 =======================================
+ Hits 309805 309810 +5 + Misses 54083 54077 -6 - Partials 18303 18304 +1 

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

@kumarUjjawalkumarUjjawal 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.

Thank you @alamb

This is nice 👍

@alamb

alamb commented Aug 8, 2026

Copy link
Copy Markdown
ContributorAuthor

Thank you for the review @kumarUjjawal

@alamb
alamb added this pull request to the merge queueAug 8, 2026
Merged via the queue into apache:main with commit 4b48cb0Aug 8, 2026
37 of 38 checks passed
@alamb
alamb deleted the alamb/merge_into_slt branch August 8, 2026 12:52
kosiew pushed a commit to kosiew/datafusion that referenced this pull request Aug 12, 2026
## Which issue does this PR close?
- Follow on ot apache#22988 from
@wirybeaver
## Rationale for this change
In addition to planning for MERGE INTO I think we should have some SQL
level tests . Since the default MemTable doesn't implement MERGE INTO we
can mostly only test the planning, but we should still add the coverage
I think
## What changes are included in this PR?
Add slt tests for `MERGE INTO`, with mostly explain plan coverage
## Are these changes tested?
Only tests
## Are there any user-facing changes?
No
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@alamb@codecov-commenter@kumarUjjawal