Skip to content

Create interval partition not report error when partition numbers exceed limit number #55093

@Defined2014

Description

@Defined2014

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

CREATE TABLE employees (
    id int unsigned NOT NULL
) PARTITION BY RANGE (id) INTERVAL (1) FIRST PARTITION LESS THAN (1) LAST PARTITION LESS THAN (81920);

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

report error

3. What did you see instead (Required)

no error, created a table with 8192 partitions.

4. What is your TiDB version? (Required)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions