Skip to content

Commit

Permalink
test(streaming): fix order assumption in extreme_null (#1770)
Browse files Browse the repository at this point in the history
Signed-off-by: Bugen Zhao <[email protected]>
  • Loading branch information
BugenZhao authored Apr 11, 2022
1 parent a933494 commit 01947e4
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions e2e_test/streaming/extreme_null.slt
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,12 @@ insert into t1 values (1,4,2), (2,3,3);
statement ok
insert into t4 values (1,1,4), (NULL,1,4), (2,9,1), (NULL,8,1), (0,2,3);

statement ok
create materialized view mv1 as select * from t1;

statement ok
create materialized view mv2 as select round(avg(v1), 1) as avg_v1, sum(v2) as sum_v2, count(v3) as count_v3 from t1;

statement ok
create materialized view mv3 as select sum(v1) as sum_v1, min(v1) as min_v1, max(v1) as max_v1 from t4 group by v3;

query III
select v1, v2, v3 from mv1;
----
1 4 2
2 3 3

query RII
select avg_v1, sum_v2, count_v3 from mv2;
----
Expand All @@ -36,14 +27,6 @@ insert into t1 values (3,4,4), (4,3,5);
statement ok
flush;

query III
select v1, v2, v3 from mv1;
----
1 4 2
2 3 3
3 4 4
4 3 5

query RII
select avg_v1, sum_v2, count_v3 from mv2;
----
Expand All @@ -56,9 +39,6 @@ select sum_v1, min_v1, max_v1, v3 from mv3 order by sum_v1;
1 NULL 1 4
2 NULL 2 1

statement ok
drop materialized view mv1

statement ok
drop materialized view mv2

Expand Down

0 comments on commit 01947e4

Please sign in to comment.