yoavcloud opened a new issue, #1496: URL: https://github.com/apache/datafusion-sqlparser-rs/issues/1496
When a statement uses identifiers that match certain expression prefix keywords, the parser will try to parse the expression over parsing the token as an identifier. The following statements work on Snowflake but the parser errors on the SELECT. If a different identifier name is selected, for example, `interval1` then the parser works as expected. ```sql create or replace temporary table test(interval int); insert into test (interval) values (1); insert into test (interval) values (2); select max(interval) from test; ``` -- 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]
