diff --git a/tests/queries/0_stateless/01268_mv_scalars.sql b/tests/queries/0_stateless/01268_mv_scalars.sql index 36f1c6b64f5..fc082aaf88c 100644 --- a/tests/queries/0_stateless/01268_mv_scalars.sql +++ b/tests/queries/0_stateless/01268_mv_scalars.sql @@ -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;