Skip to content

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

Open
aasimkhan30 wants to merge 1 commit intomainfrom
aasim/fix/98v2
Open

Fix datepart argument parsing in date functions with AGENTS files#201
aasimkhan30 wants to merge 1 commit 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant