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: Insert on duplicate key update failing with missing bind var #15965

Closed
harshit-gangal opened this issue May 17, 2024 · 0 comments · Fixed by #15961
Closed

Bug Report: Insert on duplicate key update failing with missing bind var #15965

harshit-gangal opened this issue May 17, 2024 · 0 comments · Fixed by #15961

Comments

@harshit-gangal
Copy link
Member

Overview of the Issue

For a sharded insert query having on duplicate key update, if there is a list argument. It fails the query with missing bind var error from vttablet.

Reproduction Steps

take any sharded database and run a query having list argument in on duplicate key update
e.g.
insert into user(name, col) values ('a', 2) on duplicate key update col = if(col in (1, 2), values(col), col)

Binary Version

v18, v19, main

Operating System and Environment details

NA

Log Fragments

No response

@harshit-gangal harshit-gangal added Type: Bug Needs Triage This issue needs to be correctly labelled and triaged labels May 17, 2024
@deepthi deepthi added Component: Query Serving and removed Needs Triage This issue needs to be correctly labelled and triaged labels May 17, 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.

2 participants