diff --git a/e2e_test/ddl/table/table.slt.part b/e2e_test/ddl/table/table.slt.part index 2e7c744ba2536..6deea3cd0dfd1 100644 --- a/e2e_test/ddl/table/table.slt.part +++ b/e2e_test/ddl/table/table.slt.part @@ -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; \ No newline at end of file