Skip to content

Commit 523d333

Browse files
committed
add sqllogic test
1 parent a8e526e commit 523d333

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

tests/logictest/suites/base/09_fuse_engine/09_0006_func_fuse_history

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,27 @@ select block_count, row_count from fuse_snapshot('db_09_0006', 't') order by row
1919
----
2020
1 1
2121

22+
statement query I
23+
select count(1) from fuse_block('db_09_0006', 't');
24+
25+
----
26+
1
27+
2228
statement ok
23-
insert into t values (2);
29+
insert into t values (2),(3);
2430

2531
statement query II
2632
select block_count, row_count from fuse_snapshot('db_09_0006', 't') order by row_count desc limit 1;
2733

2834
----
29-
2 2
35+
2 3
3036

37+
statement query I
38+
select block_size from fuse_block('db_09_0006', 't') order by block_size;
39+
40+
----
41+
8
42+
16
3143

3244
statement error 1025
3345
select * from fuse_snapshot('db_09_0006', 'not_exist');

0 commit comments

Comments
 (0)