dvasdekis opened a new pull request, #2607:
URL: https://github.com/apache/datafusion-sqlparser-rs/pull/2607

   MSSQL: Preserve nonreserved keyword column expressions
   
   `SELECT INTERVAL FROM dbo.example` currently fails, and bare 
`TRIM`/`SUBSTRING` can be interpreted as function prefixes.
   
   Use MSSQL prefix parsing for these nonreserved identifier spellings while 
retaining their parenthesized function forms.
   Keep dedicated TRIM/SUBSTRING ASTs, reject malformed function calls, and 
preserve existing interval-literal compatibility.
   Add projection, arithmetic, alias, predicate, function, and cross-dialect 
regressions.
   
   Keyword reference: 
https://learn.microsoft.com/en-us/sql/t-sql/language-elements/reserved-keywords-transact-sql
   
   Validation: `cargo test --all-features`, formatting, strict 
all-target/all-feature Clippy, and a bounded parser fuzz run.
   All examples and fixtures are synthetic.
   Prepared with GitHub Copilot assistance.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to