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 parsing more function alternatives to operators #16613

Open
9 tasks
lukaseder opened this issue Apr 30, 2024 · 0 comments
Open
9 tasks

Support parsing more function alternatives to operators #16613

lukaseder opened this issue Apr 30, 2024 · 0 comments

Comments

@lukaseder
Copy link
Member

Continuing after:

Some dialects support functions as alternative versions of arithmetic operators and others, e.g. ClickHouse:

We already do something similar with CONCAT(a, b) -> a || b or MOD(a, b) / MODULO(a, b) -> a % b

Specific functions supported are:

  • equal[s](x, y) for x = y
  • notEqual[s](x, y) for x <> y
  • lessOrEqual[s](x, y) for x <= y
  • greaterOrEqual[s](x, y) for x >= y
  • less[Than](x, y) for x < y
  • greater[Than](x, y) for x > y
  • like(x, y) for x like y
  • notLike(x, y) for x not like y
  • ilike(x, y) for x ilike y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant