LucaCappelletti94 opened a new pull request, #2613: URL: https://github.com/apache/datafusion-sqlparser-rs/pull/2613
`SQLiteDialect` parses `SELECT c:se` as a `JsonAccess` expression, the same `:` semi-structured traversal Snowflake and Databricks use. Real SQLite rejects it: `near ":se": syntax error`. `SQLiteDialect` now overrides `get_next_precedence` for `Token::Colon`, the same pattern PostgreSqlDialect and MsSqlDialect already use, so `:` never starts an infix parse there. Named parameters, `::` casts, and `->`/`->>` are unaffected. -- 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]
