Skip to content

fix(tsql): parse bare table hints [CODEX: GPT-6.1 Sol] - #8493

Merged
georgesittas merged 1 commit into
tobymao:mainfrom
mikamikasuki:fix/tsql-bare-table-hint-8468
Oct 3, 2026
Merged

georgesittas merged 1 commit into
tobymao:mainfrom
mikamikasuki:fix/tsql-bare-table-hint-8468

Conversation

@mikamikasuki

Copy link
Copy Markdown
Contributor

Problem: #8468 parses SQL Server SELECT * FROM dbo.t (NOLOCK) as a function call and bare hints after aliases as alias columns.

Fix: Parse bare NOLOCK/ROWLOCK as table hints while preserving valid aliases and function calls.

Validation: make check passed, and all 15 original/generated SQL Server cases executed with identical results.

@georgesittas

Copy link
Copy Markdown
Collaborator

I'll get this in and refactor it, thanks.

@georgesittas
georgesittas merged commit 5e6887a into tobymao:main Oct 3, 2026
8 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.

2 participants