Update 01925_merge_prewhere_table.sql

This commit is contained in:
alexey-milovidov 2021-06-28 00:31:18 +03:00 committed by GitHub
parent b3c1f70fc0
commit a2c23c91a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,7 +4,7 @@ DROP TABLE IF EXISTS x;
create table x_1 engine=Log as select * from numbers(10);
create table x_2 engine=Log as select * from numbers(10);
create table x engine=Merge(default, '^x_(1|2)$') as x_1;
create table x engine=Merge(currentDatabase(), '^x_(1|2)$') as x_1;
select _table, count() from x group by _table order by _table;