Skip to content

Commit

Permalink
partition_table test, added DML after DDL.
Browse files Browse the repository at this point in the history
  • Loading branch information
mjonss committed Mar 16, 2023
1 parent 04a5c2a commit bd30743
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/integration_tests/partition_table/data/prepare.sql
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@ insert into t2 values (100),(101),(102),(103),(104),(105); /*these values will b
insert into t1 values (25),(29); /*these values will be replicated to in downstream t1.p3*/

ALTER TABLE t1 REORGANIZE PARTITION p0,p2 INTO (PARTITION p0 VALUES LESS THAN (5), PARTITION p1 VALUES LESS THAN (10), PARTITION p2 VALUES LESS THAN (21));
insert into t1 values (-1),(6),(13);
update t1 set a=a-22 where a=20;
delete from t1 where a = 5;
ALTER TABLE t1 REORGANIZE PARTITION p2,p3,p4 INTO (PARTITION p2 VALUES LESS THAN (20), PARTITION p3 VALUES LESS THAN (26), PARTITION p4 VALUES LESS THAN (35), PARTITION pMax VALUES LESS THAN (MAXVALUE));
insert into t1 values (-3),(5),(14),(22),(30),(100);
update t1 set a=a-16 where a=12;
delete from t1 where a = 29;

create table finish_mark (a int primary key);

0 comments on commit bd30743

Please sign in to comment.