Skip to content

fix(mssql): preserve merge using source scope#121

Merged
rebelice merged 1 commit intomainfrom
codex/mssql-merge-using-source-scope
Apr 30, 2026
Merged

fix(mssql): preserve merge using source scope#121
rebelice merged 1 commit intomainfrom
codex/mssql-merge-using-source-scope

Conversation

@rebelice
Copy link
Copy Markdown
Collaborator

Summary

  • Treat USING as an alias boundary while collecting MSSQL completion scope.
  • Preserve bare MERGE INTO target USING source as target + source refs instead of consuming USING as the target alias.
  • Add regression coverage for MERGE INTO Employees USING Address ON |.

Test Plan

  • go test ./mssql/parser -run 'TestCollectCompletionMergeScope' -count=1
  • go test ./mssql/... -count=1

@rebelice rebelice merged commit 5f44219 into main Apr 30, 2026
2 checks passed
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.

1 participant