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

Value in error for no partition is not unsigned #44966

Closed
mjonss opened this issue Jun 26, 2023 · 0 comments · Fixed by #45032
Closed

Value in error for no partition is not unsigned #44966

mjonss opened this issue Jun 26, 2023 · 0 comments · Fixed by #45032
Assignees
Labels
component/tablepartition This issue is related to Table Partition of TiDB. severity/minor sig/sql-infra SIG: SQL Infra type/bug The issue is confirmed as a bug.

Comments

@mjonss
Copy link
Contributor

mjonss commented Jun 26, 2023

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

create table t (a bigint unsigned) partition by range (a) (partition p0 values less than (10));
insert into t values (0xffffffffffffffff);

2. What did you expect to see? (Required)

Table has no partition for value 18446744073709551615

3. What did you see instead (Required)

Table has no partition for value -1

4. What is your TiDB version? (Required)

tidb_version(): Release Version: v7.1.0
Edition: Community
Git Commit Hash: 635a4362235e8a3c0043542e629532e3c7bb2756
Git Branch: heads/refs/tags/v7.1.0
UTC Build Time: 2023-05-30 10:50:03
GoVersion: go1.20.3
Race Enabled: false
TiKV Min Version: 6.2.0-alpha
Check Table Before Drop: false
Store: tikv
@mjonss mjonss added type/bug The issue is confirmed as a bug. component/tablepartition This issue is related to Table Partition of TiDB. labels Jun 26, 2023
@lilinghai lilinghai self-assigned this Jun 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/tablepartition This issue is related to Table Partition of TiDB. severity/minor sig/sql-infra SIG: SQL Infra type/bug The issue is confirmed as a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants