Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(test): datagen parallel e2e #3840

Merged
merged 2 commits into from
Jul 13, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 10 additions & 14 deletions e2e_test/streaming/datagen.slt
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ create materialized source s1 (v1 int, v2 float) with ( 'connector' = 'datagen'
# Wait enough time to ensure Datagen connector generate data
sleep 2s

# Will only generate 10 records since `fields.v1.end` is 10
query II rowsort
select v1, v2 from s1 limit 15;
select v1, v2 from s1 where v1 is not null limit 15;
----
1 11
2 12
Expand All @@ -20,11 +21,6 @@ select v1, v2 from s1 limit 15;
8 18
9 19
10 20
NULL NULL
NULL NULL
NULL NULL
NULL NULL
NULL NULL

statement ok
drop source s1;
Expand All @@ -37,18 +33,18 @@ create materialized source s1 (v1 int) with ( 'connector' = 'datagen' ,'fields.
sleep 2s

query II rowsort
select v1 from s1 order by v1 limit 10;
select v1 from s1 where v1 is not null limit 10;
----
1
2
3
4
5
6
2
3
4
5
6
7
8
8
9
10

statement ok
drop source s1;
drop source s1;