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

create partitioned table with bigint column fail #7498

Closed
tiancaiamao opened this issue Aug 27, 2018 · 0 comments
Closed

create partitioned table with bigint column fail #7498

tiancaiamao opened this issue Aug 27, 2018 · 0 comments
Assignees
Labels
type/bug The issue is confirmed as a bug.

Comments

@tiancaiamao
Copy link
Contributor

Please answer these questions before submitting your issue. Thanks!

  1. What did you do?
    If possible, provide a recipe for reproducing the error.
create table t1 (a bigint unsigned not null) partition by range(a) (
  partition p0 values less than (10),
  partition p1 values less than (100),
  partition p2 values less than (1000),
  partition p3 values less than (18446744073709551000),
  partition p4 values less than (18446744073709551614)
);
insert into t1 values (5),(15),(105),(1005);
insert into t1 values (18446744073709551000+1);
insert into t1 values (18446744073709551614-1);
  1. What did you expect to see?

No error.

  1. What did you see instead?
ERROR 1493 (HY000): VALUES LESS THAN value must be strictly increasing for each partition
  1. What version of TiDB are you using (tidb-server -V or run select tidb_version(); on TiDB)?

master 09fb68a

@tiancaiamao tiancaiamao added the type/bug The issue is confirmed as a bug. label Aug 27, 2018
@ciscoxll ciscoxll self-assigned this Aug 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug The issue is confirmed as a bug.
Projects
None yet
Development

No branches or pull requests

2 participants