Add missing DROP TABLE at the beginning of 01268_mv_scalars test

This commit is contained in:
Azat Khuzhin 2021-01-15 01:00:10 +03:00
parent dca0cbf4eb
commit 44011061b5

View File

@ -1,4 +1,9 @@
DROP TABLE IF EXISTS dest_table_mv;
DROP TABLE IF EXISTS left_table;
DROP TABLE IF EXISTS right_table;
DROP TABLE IF EXISTS dest_table;
DROP TABLE IF EXISTS src_table; DROP TABLE IF EXISTS src_table;
DROP VIEW IF EXISTS dst_mv;
create table src_table Engine=Memory as system.numbers; create table src_table Engine=Memory as system.numbers;
CREATE MATERIALIZED VIEW dst_mv Engine=Memory as select *, (SELECT count() FROM src_table) AS cnt FROM src_table; CREATE MATERIALIZED VIEW dst_mv Engine=Memory as select *, (SELECT count() FROM src_table) AS cnt FROM src_table;