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 Tuples and InOp implementation to EvalEngine #9281

Merged
merged 9 commits into from
Nov 24, 2021

Conversation

GuptaManan100
Copy link
Member

Description

As a long term goal, we want to replace the usage of PlanValue everywhere. To accomplish this change, we need to add an implementation to evalengine.Expr which can store tuples and evaluate them. This PR accomplishes that change. It introduces a new implementation of evalengine.Expr which stores multiple values and also changes the EvalResult struct to be able to store multiple results for intermediate steps.

Related Issue(s)

Checklist

  • Should this PR be backported?
  • Tests were added or are not required
  • Documentation was added or is not required

Deployment Notes

Signed-off-by: Manan Gupta <manan@planetscale.com>
Signed-off-by: Manan Gupta <manan@planetscale.com>
Signed-off-by: Manan Gupta <manan@planetscale.com>
Signed-off-by: Manan Gupta <manan@planetscale.com>
Signed-off-by: Manan Gupta <manan@planetscale.com>
Signed-off-by: Manan Gupta <manan@planetscale.com>
@GuptaManan100 GuptaManan100 added Type: Enhancement Logical improvement (somewhere between a bug and feature) Component: Query Serving release notes labels Nov 23, 2021
Signed-off-by: Manan Gupta <manan@planetscale.com>
Signed-off-by: Manan Gupta <manan@planetscale.com>
Copy link
Collaborator

@vmg vmg 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! I'm confused about collations propagation for comparisons where the right side is a tuple, but that's something I gotta figure out myself in my branch. 👌

Signed-off-by: Manan Gupta <manan@planetscale.com>
@vmg vmg merged commit a362c1b into vitessio:main Nov 24, 2021
@vmg vmg deleted the evalengine-plan-value branch November 24, 2021 09:10
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.

5 participants