Skip to content

Support for null-safe equals operator <=>? #1487

Discussion options

You must be logged in to vote

Greetings!

The null-safe equals operator is supported in many commonly used SQL systems, including MariaDB, Snowflake, and Spark SQL.

JSQLParser is largely RDBMS agnostic with a certain preference to SQL Standard and the Oracle, MS SQL Server and PostgreSQL Dialects.

Did I not configure the parser correctly,

No, except SQUARED_BRACKET_QUOTATION, there is no configuration needed. (And this does not apply here.)
Especially, there is no configuration of "Dialects".

or there a way to adjust the grammar dialect to handle this operator?

The only ways to make it work were:
a) Submit a PR implementing this operator (Grammar, Java Code, Tests)
b) OR sponsor an implementation

Best regards
And…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by manticore-projects
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants