Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Operator precedence mismatch between sql database #212

Open
antoineB opened this issue Oct 28, 2023 · 0 comments
Open

Operator precedence mismatch between sql database #212

antoineB opened this issue Oct 28, 2023 · 0 comments

Comments

@antoineB
Copy link
Contributor

The operator precedence is not the same between sqlite, mariadb and postgres.
I just wanted to point it out, I am not sure that operator precedence as any use in the scope of this parser (used in code editor).

https://www.postgresql.org/docs/current/sql-syntax-lexical.html#SQL-PRECEDENCE
https://github.com/sqlite/sqlite/blob/master/src/parse.y#L280
https://mariadb.com/kb/en/operator-precedence/

I am not sure the actual operator precedence is the same as one of the big three.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant