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 with Negative Value failing #14246

Closed
harshit-gangal opened this issue Oct 11, 2023 · 0 comments · Fixed by #14244
Closed

Bug Report: Insert with Negative Value failing #14246

harshit-gangal opened this issue Oct 11, 2023 · 0 comments · Fixed by #14244

Comments

@harshit-gangal
Copy link
Member

Overview of the Issue

Insert failing having negative value with missing bind var

Reproduction Steps

"t10": {
     "column_vindexes": [
       {
         "column": "sharding_key",
         "name": "hash"
       }
}
create table t10
(
    id           bigint,
    sharding_key bigint,
    col1 varchar(50),
    col2 int,
    col3 int,
    primary key (id)
) Engine = InnoDB;

Execute
insert ignore into t10(id, sharding_key, col1, col2, col3) values(1, 2, 'a', 1, 2), (2, -2, 'b', -3, 4), (3, -4, 'c', 6, -7), (4, 6, 'd', 4, -10)

It fails.

Binary Version

18.0.0-rc1 and main

Operating System and Environment details

NA

Log Fragments

https://gist.github.com/harshit-gangal/e7270483a48f44348e7b2103fac9a0c3
@harshit-gangal harshit-gangal added Type: Bug Needs Triage This issue needs to be correctly labelled and triaged Component: Query Serving Type: Regression and removed Type: Bug Needs Triage This issue needs to be correctly labelled and triaged labels Oct 11, 2023
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