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

Multi column vindex support in select statement #9326

Merged
merged 18 commits into from
Dec 10, 2021

Conversation

harshit-gangal
Copy link
Member

@harshit-gangal harshit-gangal commented Dec 6, 2021

Description

This PR adds support for multi-column vindex selection in select sql queries.
This only works with Gen4 planner.

Related Issue(s)

Checklist

  • Tests were added or are not required
  • Documentation was added or is not required

Deployment Notes

Signed-off-by: Harshit Gangal <harshit@planetscale.com>
…ting

Signed-off-by: Harshit Gangal <harshit@planetscale.com>
harshit-gangal and others added 12 commits December 6, 2021 22:20
Signed-off-by: Harshit Gangal <harshit@planetscale.com>
…tEqual opcode

Signed-off-by: Harshit Gangal <harshit@planetscale.com>
…tIN opcode, added relevant test

Signed-off-by: Harshit Gangal <harshit@planetscale.com>
…olumn vindex values

Signed-off-by: Manan Gupta <manan@planetscale.com>
…alues across resovled shards

Signed-off-by: Manan Gupta <manan@planetscale.com>
Signed-off-by: Manan Gupta <manan@planetscale.com>
Signed-off-by: Andres Taylor <andres@planetscale.com>
…beign = and another with IN clause

Signed-off-by: Harshit Gangal <harshit@planetscale.com>
…rom multi column vindex

Signed-off-by: Harshit Gangal <harshit@planetscale.com>
…n multi-column vindex to select better plan later from all the ready options

Signed-off-by: Harshit Gangal <harshit@planetscale.com>
…ndex

Signed-off-by: Harshit Gangal <harshit@planetscale.com>
Signed-off-by: Harshit Gangal <harshit@planetscale.com>
@harshit-gangal harshit-gangal marked this pull request as ready for review December 9, 2021 08:08
go/vt/vtgate/engine/route.go Outdated Show resolved Hide resolved
harshit-gangal and others added 4 commits December 9, 2021 16:43
… argument bind vars

Signed-off-by: Harshit Gangal <harshit@planetscale.com>
Signed-off-by: Harshit Gangal <harshit@planetscale.com>
Signed-off-by: Andres Taylor <andres@planetscale.com>
Signed-off-by: Andres Taylor <andres@planetscale.com>
@systay systay merged commit 52c3692 into vitessio:main Dec 10, 2021
@systay systay deleted the multi-column-vindex branch December 10, 2021 08:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants