Skip to content

fix(mssql): model special function syntax in AST#139

Merged
rebelice merged 1 commit into
mainfrom
codex/mssql-datepart-ast
May 13, 2026
Merged

fix(mssql): model special function syntax in AST#139
rebelice merged 1 commit into
mainfrom
codex/mssql-datepart-ast

Conversation

@rebelice
Copy link
Copy Markdown
Collaborator

Summary

  • represent T-SQL datepart arguments as DatePart nodes instead of ColumnRef
  • add AST/parser support for NEXT VALUE FOR, PARSE/TRY_PARSE, TRIM options, window NULL treatment, and JSON function clauses
  • treat rowset function object identifiers as object refs instead of local column refs

Tests

  • go test ./mssql/... -count=1

@rebelice rebelice merged commit 39c04c4 into main May 13, 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