-
Notifications
You must be signed in to change notification settings - Fork 590
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add metrics, add x500 x10000 slt
Signed-off-by: MrCroxx <[email protected]>
- Loading branch information
Showing
7 changed files
with
196 additions
and
4 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
92 changes: 92 additions & 0 deletions
92
e2e_test/backfill/adaptive-rate-limit/amplification-10000.slt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
statement ok | ||
create table fact(v1 int); | ||
|
||
statement ok | ||
create table dim(v1 int); | ||
|
||
statement ok | ||
create table dim2(v1 int); | ||
|
||
statement ok | ||
insert into fact select 1 from generate_series(1, 1000000); | ||
|
||
statement ok | ||
insert into dim select 1 from generate_series(1, 100); | ||
|
||
statement ok | ||
insert into dim2 select 1 from generate_series(1, 100); | ||
|
||
statement ok | ||
flush; | ||
|
||
statement ok | ||
set background_ddl = true; | ||
|
||
statement ok | ||
create sink s1 as select fact.v1 from fact join dim on fact.v1 = dim.v1 join dim2 on fact.v1 = dim2.v1 with (connector = 'blackhole'); | ||
|
||
statement ok | ||
set background_ddl = false; | ||
|
||
# Let at least 16 barriers pass through | ||
# Then we have 1 * 2^16 = 65536 | ||
|
||
skipif in-memory | ||
sleep 10s | ||
|
||
statement ok | ||
flush; | ||
|
||
statement ok | ||
flush; | ||
|
||
statement ok | ||
flush; | ||
|
||
statement ok | ||
flush; | ||
|
||
statement ok | ||
flush; | ||
|
||
statement ok | ||
flush; | ||
|
||
statement ok | ||
flush; | ||
|
||
statement ok | ||
flush; | ||
|
||
statement ok | ||
flush; | ||
|
||
statement ok | ||
flush; | ||
|
||
statement ok | ||
flush; | ||
|
||
statement ok | ||
flush; | ||
|
||
statement ok | ||
flush; | ||
|
||
statement ok | ||
flush; | ||
|
||
statement ok | ||
flush; | ||
|
||
statement ok | ||
flush; | ||
|
||
# statement ok | ||
# drop sink s1; | ||
|
||
# statement ok | ||
# drop table fact; | ||
|
||
# statement ok | ||
# drop table dim; |
89 changes: 89 additions & 0 deletions
89
e2e_test/backfill/adaptive-rate-limit/amplification-500.slt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
statement ok | ||
create table fact(v1 int); | ||
|
||
statement ok | ||
create table dim(v1 int); | ||
|
||
statement ok | ||
create table dim2(v1 int); | ||
|
||
statement ok | ||
insert into fact select 1 from generate_series(1, 1000000); | ||
|
||
statement ok | ||
insert into dim select 1 from generate_series(1, 500); | ||
|
||
statement ok | ||
flush; | ||
|
||
statement ok | ||
set background_ddl = true; | ||
|
||
statement ok | ||
create materialized view m1 as select fact.v1 from fact join dim on fact.v1 = dim.v1; | ||
|
||
statement ok | ||
set background_ddl = false; | ||
|
||
# Let at least 16 barriers pass through | ||
# Then we have 1 * 2^16 = 65536 | ||
|
||
skipif in-memory | ||
sleep 10s | ||
|
||
statement ok | ||
flush; | ||
|
||
statement ok | ||
flush; | ||
|
||
statement ok | ||
flush; | ||
|
||
statement ok | ||
flush; | ||
|
||
statement ok | ||
flush; | ||
|
||
statement ok | ||
flush; | ||
|
||
statement ok | ||
flush; | ||
|
||
statement ok | ||
flush; | ||
|
||
statement ok | ||
flush; | ||
|
||
statement ok | ||
flush; | ||
|
||
statement ok | ||
flush; | ||
|
||
statement ok | ||
flush; | ||
|
||
statement ok | ||
flush; | ||
|
||
statement ok | ||
flush; | ||
|
||
statement ok | ||
flush; | ||
|
||
statement ok | ||
flush; | ||
|
||
# statement ok | ||
# drop sink s1; | ||
|
||
# statement ok | ||
# drop table fact; | ||
|
||
# statement ok | ||
# drop table dim; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters