diff --git a/tests/fullstack-test/dml/partition_table.test b/tests/fullstack-test/dml/partition_table.test new file mode 100644 index 00000000000..32771a242b5 --- /dev/null +++ b/tests/fullstack-test/dml/partition_table.test @@ -0,0 +1,17 @@ +mysql> drop table if exists test.t +mysql> create table test.t(i int not null, s varchar(255)) partition by range (i) (partition p0 values less than (10), partition p1 values less than (20)); +mysql> alter table test.t set tiflash replica 1 + +SLEEP 15 + +mysql> insert into test.t values(1, 'abc'), (11, 'def'); + +SLEEP 15 + +mysql> select /*+ read_from_storage(tiflash[t]) */ * from test.t; ++----+------+ +| i | s | ++----+------+ +| 1 | abc | +| 11 | def | ++----+------+