Skip to content

Commit

Permalink
add test
Browse files Browse the repository at this point in the history
  • Loading branch information
SkyFan2002 committed Jul 22, 2024
1 parent 6836ca9 commit 2854424
Showing 1 changed file with 10 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,18 +1,21 @@
statement ok
create or replace table t09_0042 (a int);
create or replace table t09_0042 (a int) cluster by (a);

statement ok
insert into t09_0042 values (1);
insert into t09_0042 values (1),(4);

statement ok
insert into t09_0042 values (2);
insert into t09_0042 values (2),(3);

statement ok
insert into t09_0042 values (3);
insert into t09_0042 values (5);

statement ok
set transaction_time_limit_in_hours=0;

statement error 4003
alter table t09_0042 recluster;

statement error 4003
optimize table t09_0042 compact;

Expand Down Expand Up @@ -59,11 +62,13 @@ statement ok
commit;

query I
select * from t09_0042;
select * from t09_0042 order by a;
----
1
2
3
4
5

statement ok
set transaction_time_limit_in_hours=24;

0 comments on commit 2854424

Please sign in to comment.