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

Don't turn varchar vindex queries into IN #7268

Merged
merged 2 commits into from
Jan 8, 2021

Conversation

systay
Copy link
Collaborator

@systay systay commented Jan 8, 2021

We can't bundle together multiple varchar values and query the lookup vindexes using IN queries, because when we do, we then have to be able to compare varchar values at the vtgate level, and that is not always safe.

Fixes #7254

@systay systay changed the title Don't use vindexes that need comparisons Don't turn varchar vindex queries into IN Jan 8, 2021
@systay systay force-pushed the fix-7254 branch 2 times, most recently from ce34a52 to 8783e33 Compare January 8, 2021 09:02
we can't group together multiple varchar values into a IN query,
because that forces use to compare varchar values on the vtgate
level which we can't do correctly yet

Signed-off-by: Andres Taylor <[email protected]>
Signed-off-by: Andres Taylor <[email protected]>
@systay systay merged commit b71f893 into vitessio:master Jan 8, 2021
@systay systay deleted the fix-7254 branch January 8, 2021 14:03
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.

Lookup vindex with lookup key type 'unicode_loose_md5' seems to be broken in 8.0.0
2 participants