LucaCappelletti94 opened a new pull request, #2786: URL: https://github.com/apache/datafusion-sqlparser-rs/pull/2786
`SELECT a ISNULL FROM t` parsed as the alias `a AS ISNULL`, and `SELECT * FROM t WHERE a ISNULL` failed, although both engines accept `ISNULL` as a postfix form of `IS NULL`. This mirrors the `NOTNULL` support from #1927 with an `ISNULL` keyword and a `supports_isnull_operator` dialect method enabled for SQLite and PostgreSQL. `ISNULL(a, b)` as a function is unchanged in the other dialects. https://www.sqlite.org/lang_expr.html and https://www.postgresql.org/docs/current/functions-comparison.html -- 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]
