Skip to content

Commit

Permalink
test: run over window e2e test in all cache policy modes (#13951)
Browse files Browse the repository at this point in the history
Signed-off-by: Richard Chien <[email protected]>
  • Loading branch information
stdrc authored Dec 26, 2023
1 parent b1e261a commit b1c61b7
Show file tree
Hide file tree
Showing 6 changed files with 94 additions and 24 deletions.
32 changes: 24 additions & 8 deletions e2e_test/over_window/generated/batch/main.slt.part
Original file line number Diff line number Diff line change
@@ -1,11 +1,27 @@
# This file is generated by `gen.py`. Do not edit it manually!

statement ok
SET RW_IMPLICIT_FLUSH TO true;

include ./basic/mod.slt.part
include ./rank_func/mod.slt.part
include ./expr_in_win_func/mod.slt.part
include ./agg_in_win_func/mod.slt.part
include ./opt_agg_then_join/mod.slt.part
include ./with_filter/mod.slt.part
set rw_implicit_flush = true;

statement ok
set rw_streaming_over_window_cache_policy = full;

include ./run_all.slt.part

statement ok
set rw_streaming_over_window_cache_policy = recent;

include ./run_all.slt.part

statement ok
set rw_streaming_over_window_cache_policy = recent_first_n;

include ./run_all.slt.part

statement ok
set rw_streaming_over_window_cache_policy = recent_last_n;

include ./run_all.slt.part

statement ok
set rw_streaming_over_window_cache_policy = default;
8 changes: 8 additions & 0 deletions e2e_test/over_window/generated/batch/run_all.slt.part
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# This file is generated by `gen.py`. Do not edit it manually!

include ./basic/mod.slt.part
include ./rank_func/mod.slt.part
include ./expr_in_win_func/mod.slt.part
include ./agg_in_win_func/mod.slt.part
include ./opt_agg_then_join/mod.slt.part
include ./with_filter/mod.slt.part
32 changes: 24 additions & 8 deletions e2e_test/over_window/generated/streaming/main.slt.part
Original file line number Diff line number Diff line change
@@ -1,11 +1,27 @@
# This file is generated by `gen.py`. Do not edit it manually!

statement ok
SET RW_IMPLICIT_FLUSH TO true;

include ./basic/mod.slt.part
include ./rank_func/mod.slt.part
include ./expr_in_win_func/mod.slt.part
include ./agg_in_win_func/mod.slt.part
include ./opt_agg_then_join/mod.slt.part
include ./with_filter/mod.slt.part
set rw_implicit_flush = true;

statement ok
set rw_streaming_over_window_cache_policy = full;

include ./run_all.slt.part

statement ok
set rw_streaming_over_window_cache_policy = recent;

include ./run_all.slt.part

statement ok
set rw_streaming_over_window_cache_policy = recent_first_n;

include ./run_all.slt.part

statement ok
set rw_streaming_over_window_cache_policy = recent_last_n;

include ./run_all.slt.part

statement ok
set rw_streaming_over_window_cache_policy = default;
8 changes: 8 additions & 0 deletions e2e_test/over_window/generated/streaming/run_all.slt.part
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# This file is generated by `gen.py`. Do not edit it manually!

include ./basic/mod.slt.part
include ./rank_func/mod.slt.part
include ./expr_in_win_func/mod.slt.part
include ./agg_in_win_func/mod.slt.part
include ./opt_agg_then_join/mod.slt.part
include ./with_filter/mod.slt.part
32 changes: 24 additions & 8 deletions e2e_test/over_window/templates/main.slt.part
Original file line number Diff line number Diff line change
@@ -1,9 +1,25 @@
statement ok
SET RW_IMPLICIT_FLUSH TO true;

include ./basic/mod.slt.part
include ./rank_func/mod.slt.part
include ./expr_in_win_func/mod.slt.part
include ./agg_in_win_func/mod.slt.part
include ./opt_agg_then_join/mod.slt.part
include ./with_filter/mod.slt.part
set rw_implicit_flush = true;

statement ok
set rw_streaming_over_window_cache_policy = full;

include ./run_all.slt.part

statement ok
set rw_streaming_over_window_cache_policy = recent;

include ./run_all.slt.part

statement ok
set rw_streaming_over_window_cache_policy = recent_first_n;

include ./run_all.slt.part

statement ok
set rw_streaming_over_window_cache_policy = recent_last_n;

include ./run_all.slt.part

statement ok
set rw_streaming_over_window_cache_policy = default;
6 changes: 6 additions & 0 deletions e2e_test/over_window/templates/run_all.slt.part
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
include ./basic/mod.slt.part
include ./rank_func/mod.slt.part
include ./expr_in_win_func/mod.slt.part
include ./agg_in_win_func/mod.slt.part
include ./opt_agg_then_join/mod.slt.part
include ./with_filter/mod.slt.part

0 comments on commit b1c61b7

Please sign in to comment.