Skip to content

Fix: make MSSQL merge exists implementation opt-in#4870

Merged
treysp merged 2 commits intomainfrom
trey/mssql-merge-properties
Jul 2, 2025
Merged

Fix: make MSSQL merge exists implementation opt-in#4870
treysp merged 2 commits intomainfrom
trey/mssql-merge-properties

Conversation

@treysp
Copy link
Copy Markdown
Contributor

@treysp treysp commented Jul 1, 2025

We recently updated the MSSQL MERGE implementation to use the EXISTS operator for performance improvement.

The updated implementation does not always improve performance and is incompatible with some column data types (e.g., GEOMETRY).

This PR makes the newer implementation opt-in via the mssql_merge_exists flag in the MODEL physical_properties section.

Original feature request: #4568

@treysp treysp force-pushed the trey/mssql-merge-properties branch 4 times, most recently from d2d2a6c to 331afd1 Compare July 1, 2025 22:36
@treysp treysp marked this pull request as ready for review July 1, 2025 22:37
@treysp treysp force-pushed the trey/mssql-merge-properties branch from 331afd1 to 229da08 Compare July 1, 2025 22:42
@treysp treysp requested a review from a team July 1, 2025 23:00
@treysp treysp force-pushed the trey/mssql-merge-properties branch from 229da08 to 0ab401a Compare July 2, 2025 14:07
@treysp treysp force-pushed the trey/mssql-merge-properties branch from 0ab401a to 027fbb0 Compare July 2, 2025 15:25
@treysp treysp merged commit 13024bc into main Jul 2, 2025
27 checks passed
@treysp treysp deleted the trey/mssql-merge-properties branch July 2, 2025 16:21
Sign up for free to 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