Skip to content

Commit

Permalink
add test
Browse files Browse the repository at this point in the history
  • Loading branch information
st1page committed Feb 26, 2024
1 parent d52fb7c commit ca88b9f
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions e2e_test/ddl/table/table.slt.part
Original file line number Diff line number Diff line change
Expand Up @@ -259,3 +259,29 @@ drop table t1;

statement ok
drop table t2;

statement error
create table t(v int) with (retention_seconds = 5);

statement ok
create table t(v int) APPEND ONLY with (retention_seconds = 5);

statement ok
insert into t values(1);

statement ok
flush;

query I
select * from t;
----
1

sleep 10s

query I
select * from t;
----

statement ok
drop table t;

0 comments on commit ca88b9f

Please sign in to comment.