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

MySQL parser not support JSON Function #1866

Closed
brosoul opened this issue Jun 30, 2023 · 0 comments · Fixed by #1872
Closed

MySQL parser not support JSON Function #1866

brosoul opened this issue Jun 30, 2023 · 0 comments · Fixed by #1872

Comments

@brosoul
Copy link
Contributor

brosoul commented Jun 30, 2023

It is understandable that a JSON function for a word is considered anonymou.
But sqlglot parser not support MEMBER OF() function that introduced in 8.0.17.

example sql:

SELECT 'ab' MEMBER OF('[23, "abc", 17, "ab", 10]');

refs: https://dev.mysql.com/doc/refman/8.0/en/json-search-functions.html#operator_member-of

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

Successfully merging a pull request may close this issue.

1 participant