Skip to content

Fix datepart argument parsing in date functions with AGENTS files#201

Merged
aasimkhan30 merged 3 commits intomainfrom
aasim/fix/98v2
Apr 28, 2026
Merged

Fix datepart argument parsing in date functions with AGENTS files#201
aasimkhan30 merged 3 commits intomainfrom
aasim/fix/98v2

Conversation

@aasimkhan30
Copy link
Copy Markdown
Contributor

@aasimkhan30 aasimkhan30 commented Apr 21, 2026

Description

Fixes #98
Fixes #124
Fixes #196

Fixes parser behavior for date functions so the first datepart argument (for example, mm in DATEDIFF(mm, ColA, ColB)) is parsed as IdentifierLiteral instead of ColumnReferenceExpression.

In addition, go through the checklist below and check each item as you validate it is either handled or not applicable to this change.

Code Changes

…arious arities and edge cases

Co-authored-by: Copilot <copilot@github.com>
@aasimkhan30 aasimkhan30 merged commit 6e95673 into main Apr 28, 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

2 participants