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

vreplication: keyspace_id() support #5500

Merged
merged 1 commit into from
Dec 5, 2019

Conversation

sougou
Copy link
Contributor

@sougou sougou commented Dec 4, 2019

Signed-off-by: Sugu Sougoumarane ssougou@gmail.com

Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
@sougou sougou requested a review from deepthi December 4, 2019 02:54
@sougou
Copy link
Contributor Author

sougou commented Dec 4, 2019

The retry succeeded even though build shows red.

Copy link
Member

@deepthi deepthi left a comment

Choose a reason for hiding this comment

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

Requested more comments. Looks good otherwise.

@@ -45,6 +45,7 @@ type Plan struct {
// ColExpr represents a column expression.
type ColExpr struct {
ColNum int
Vindex vindexes.Vindex
Alias sqlparser.ColIdent
Type querypb.Type
}
Copy link
Member

Choose a reason for hiding this comment

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

Can you add comments for each field here? It isn't obvious that Vindex will be set only for keyspace_id func as of now.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'll update these on the next PR, because I've reorganized these a bit to accommodate multi-column vindexes.

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.

2 participants