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

Add string comparison operations to the IF() function #2315

Closed
6 tasks done
Nick-S-2018 opened this issue Jun 17, 2024 · 2 comments
Closed
6 tasks done

Add string comparison operations to the IF() function #2315

Nick-S-2018 opened this issue Jun 17, 2024 · 2 comments

Comments

@Nick-S-2018
Copy link
Collaborator

Nick-S-2018 commented Jun 17, 2024

Proposal:

As of now, IF() supports only the '=' comparison for string values. We need to add support for the '<', '>', '<=' , '>=' operations too.

Checklist:

To be completed by the assignee. Check off tasks that have been completed or are not applicable.

  • Implementation completed
  • Tests developed
  • Documentation updated
  • Documentation reviewed
  • Changelog updated
  • OpenAPI YAML updated and issue created to rebuild clients
@Nick-S-2018
Copy link
Collaborator Author

Related to #832

@tomatolog
Copy link
Contributor

added at 3ab7ee8 string comparision operators in the select list expressions. Now expressions with string attributes could be compared with <,>,<=,>=,!= in the select list and other expressions such

select if (str_attr<'that', -2, 100) as cnd1 from idx ...

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

3 participants