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

Bug Report: opcode MultiEqual not supported for VindexLookup during query #16972

Closed
arthurschreiber opened this issue Oct 15, 2024 · 0 comments · Fixed by #16975
Closed

Bug Report: opcode MultiEqual not supported for VindexLookup during query #16972

arthurschreiber opened this issue Oct 15, 2024 · 0 comments · Fixed by #16975

Comments

@arthurschreiber
Copy link
Contributor

Overview of the Issue

On sharded tables utilizing lookup vindexes certain queries will fail with:

ERROR 1815 (HY000): opcode MultiEqual not supported for VindexLookup

Reproduction Steps

  • issues is a sharded table
  • issues.id is a lookup vindex column.
  • issues.user_id is a regular column.
SELECT issues.* FROM issues WHERE ((id = 1 AND user_id = 1) OR (id = 2 AND user_id = 2) OR (id = 3 AND user_id = 3));
Empty set (0.00 sec)
SELECT issues.* FROM issues WHERE ((id = 1 AND user_id = 1) OR (id = 2 AND user_id = 2) OR (id = 3 AND user_id = 3) OR (id = 4 AND user_id = 4));
ERROR 1815 (HY000): opcode MultiEqual not supported for VindexLookup

Binary Version

v19

Operating System and Environment details

N/A

Log Fragments

N/A
@arthurschreiber arthurschreiber added Type: Bug Needs Triage This issue needs to be correctly labelled and triaged Component: Query Serving and removed Needs Triage This issue needs to be correctly labelled and triaged labels Oct 15, 2024
@arthurschreiber arthurschreiber self-assigned this Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant