Fix flacky test #10603

This commit is contained in:
Alexey Milovidov 2020-05-11 07:33:06 +03:00
parent 1e73e02bc0
commit 8e551a082c

View File

@ -16,16 +16,16 @@ CREATE MATERIALIZED VIEW dest_table_mv TO dest_table as select * FROM (SELECT *
insert into left_table select toDate('2020-01-01'), 0, number * 2 from numbers(3);
select 'the rows get inserted';
select * from dest_table;
select * from dest_table order by Date, Id, Units;
insert into left_table select toDate('2020-01-01'), 5, number * 2 from numbers(3);
select 'no new rows';
select * from dest_table;
select * from dest_table order by Date, Id, Units;
truncate table left_table;
insert into left_table select toDate('2020-01-01') + 5, 5, number * 2 from numbers(3);
select 'the rows get inserted';
select * from dest_table;
select * from dest_table order by Date, Id, Units;
drop table dest_table_mv;
drop table left_table;