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

small refactor of SET plan building #6472

Merged
merged 1 commit into from
Jul 26, 2020

Conversation

systay
Copy link
Collaborator

@systay systay commented Jul 25, 2020

No description provided.

Signed-off-by: Andres Taylor <andres@planetscale.com>
@systay systay requested a review from sougou as a code owner July 25, 2020 09:39
@systay systay requested a review from harshit-gangal July 25, 2020 09:39
Comment on lines +227 to +228
// Uh-oh - this expression is not even safe to delegate to the tablet. Give up.
return nil, vterrors.Errorf(vtrpcpb.Code_UNIMPLEMENTED, "expression not supported for SET: %s", sqlparser.String(astExpr))
Copy link
Member

Choose a reason for hiding this comment

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

If we can parse the expression than we can recursively call planbuilder and put that as input for this setOp.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I'm not changing semantics or behaviour in this PR, just moving code around to make it cleaner. If you want to change this, we should do that in a separate PR.

@harshit-gangal harshit-gangal merged commit 8bc9318 into vitessio:master Jul 26, 2020
@deepthi deepthi added this to the v7.0 milestone Jul 27, 2020
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

Successfully merging this pull request may close these issues.

3 participants