Update 01560_merge_distributed_join.sql

This commit is contained in:
alexey-milovidov 2020-11-23 12:51:59 +03:00 committed by GitHub
parent 9969a73d50
commit f38db2d421
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,3 +12,8 @@ CREATE TABLE products as prod_hist ENGINE = Merge(currentDatabase(), '^products_
SELECT * FROM products AS p LEFT JOIN cat_hist AS c USING (categoryId);
SELECT * FROM products AS p GLOBAL LEFT JOIN cat_hist AS c USING (categoryId);
DROP TABLE cat_hist;
DROP TABLE prod_hist;
DROP TABLE products_l;
DROP TABLE products;