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 BETWEEN in the evalengine #12150

Merged
merged 5 commits into from
Jan 26, 2023
Merged

Support BETWEEN in the evalengine #12150

merged 5 commits into from
Jan 26, 2023

Conversation

systay
Copy link
Collaborator

@systay systay commented Jan 25, 2023

Description

Adds support for BETWEEN in the eval engine, by translating them to => and =< comparisons, or the equivalent for `NOT BETWEEN.

Related Issue(s)

Solves part of #9647

Checklist

  • "Backport to:" labels have been added if this change should be back-ported
  • Tests were added or are not required
  • Documentation was added or is not required

Signed-off-by: Andres Taylor <[email protected]>
@systay systay added Type: Enhancement Logical improvement (somewhere between a bug and feature) Component: Query Serving labels Jan 25, 2023
@systay systay marked this pull request as ready for review January 25, 2023 15:43
@systay systay requested a review from vmg January 25, 2023 15:44
Copy link
Contributor

@dbussink dbussink left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good!

@systay systay merged commit 47feece into vitessio:main Jan 26, 2023
@systay systay deleted the between branch January 26, 2023 10:40
dbussink pushed a commit that referenced this pull request Jan 30, 2023
* add translation for between comparisons in the evalengine

Signed-off-by: Andres Taylor <[email protected]>

* add end to end test

Signed-off-by: Andres Taylor <[email protected]>

* add support for NOT BETWEEN

Signed-off-by: Andres Taylor <[email protected]>

* fix translation of NOT BETWEEN

Signed-off-by: Andres Taylor <[email protected]>

* assert no matter the order of the results

Signed-off-by: Andres Taylor <[email protected]>

Signed-off-by: Andres Taylor <[email protected]>

Signed-off-by: Andres Taylor <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Query Serving Type: Enhancement Logical improvement (somewhere between a bug and feature)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants