romanb opened a new pull request, #2294: URL: https://github.com/apache/datafusion-sqlparser-rs/pull/2294
Currently the following fails to parse in SQL server: ```sql SELECT t1.a COLLATE Latin1_General_CI_AS FROM t1 ``` This PR moves the `COLLATE` parsing within expressions from the end of `parse_prefix` to `parse_subexpr` after `parse_compound_expr`, so that `expr COLLATE collation` is also handled correctly when `expr` is a compound identifier. -- 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]
