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

Support for NOT ILIKE #182

Open
klauck opened this issue Jul 20, 2021 · 2 comments
Open

Support for NOT ILIKE #182

klauck opened this issue Jul 20, 2021 · 2 comments

Comments

@klauck
Copy link
Contributor

klauck commented Jul 20, 2021

Inspecting the rail road diagram, I noticed that we support ILIKE but not NOT ILIKE.
ILIKE can be used instead of LIKE to make the operator case insensitive.
ILIKE is not in the SQL standard, but I think we should support both (ILIKe and NOT ILIKE) or none.

Note, ILIKE is not (yet) supported by Hyrise.

@cdmh
Copy link
Contributor

cdmh commented Jul 20, 2021

I think NOT should be supported in front of any expression, and not specific to LIKE/ILIKE keywords, shouldn’t it?

@klauck
Copy link
Contributor Author

klauck commented Jul 21, 2021

Yes, NOT should and is already supported in front of any expression as unary operator.
However, ILIKE requires a value/attribute before and pattern after, and is, thus handled separately in the parser.

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

2 participants