You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
Looping over this test will eventually result in different partition row count for table t1:
DROP DATABASE IF EXISTS TICASE_2577;
CREATE DATABASE TICASE_2577;
USE TICASE_2577;
create table t1 (id int) partition by hash(id) partitions 10;
create table t2 (id int) partition by range(id) (
partition p0 values less than (10),
partition p1 values less than (20),
partition p2 values less than (30),
partition p3 values less than (maxvalue));
create table t3 (id int) partition by range columns (id) (
partition p0 values less than (10),
partition p1 values less than (20),
partition p2 values less than (30),
partition p3 values less than (maxvalue));
insert into t1 values (1),(2),(3),(7),(11),(22),(23),(34),(45),(66),(72),(89),(97),(100);
insert into t2 values (1),(2),(3),(7),(11),(22),(23),(34),(45),(66),(72),(89),(97),(100);
insert into t3 values (1),(2),(3),(7),(11),(22),(23),(34),(45),(66),(72),(89),(97),(100);
analyze table t1;
analyze table t2;
analyze table t3;
select PARTITION_NAME,PARTITION_METHOD,PARTITION_EXPRESSION,TABLE_ROWS from information_schema.partitions where table_name = 't1' and table_schema = 'TICASE_2577';
select PARTITION_NAME,PARTITION_METHOD,PARTITION_EXPRESSION,TABLE_ROWS from information_schema.partitions where table_name = 't2' and table_schema = 'TICASE_2577';
select PARTITION_NAME,PARTITION_METHOD,PARTITION_EXPRESSION,TABLE_ROWS from information_schema.partitions where table_name = 't3' and table_schema = 'TICASE_2577';
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
Looping over this test will eventually result in different partition row count for table t1:
2. What did you expect to see? (Required)
3. What did you see instead (Required)
Also seen this in our automated tests:
4. What is your TiDB version? (Required)
The text was updated successfully, but these errors were encountered: