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

Keep the lowest cost vindex for each column if there are multiple ones #5023

Merged
merged 1 commit into from
Jul 27, 2019
Merged

Keep the lowest cost vindex for each column if there are multiple ones #5023

merged 1 commit into from
Jul 27, 2019

Conversation

mingjianliu
Copy link

If the same column having multiple vindex, choose the one with lowest cost. Not the last one in ColumnVindex's order

@mingjianliu mingjianliu requested a review from sougou as a code owner July 25, 2019 22:19
Signed-off-by: Mingjian Liu <mingjianliu@pinterest.com>
Copy link
Contributor

@sougou sougou left a comment

Choose a reason for hiding this comment

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

I'll merge this, but would like to know the use case for two columns needing two vindexes. Can you add an explanation?

@sougou sougou merged commit 9a6e7da into vitessio:master Jul 27, 2019
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