Add test with remote, final and max_parallel_replicas.

This commit is contained in:
Nikolai Kochetov 2019-11-25 18:44:15 +03:00
parent c97212d132
commit f90a8cebfd
2 changed files with 5 additions and 0 deletions

View File

@ -6,3 +6,5 @@ count sample
557632
count sample final
371758
count final max_parallel_replicas
666667

View File

@ -10,5 +10,8 @@ select 'count sample';
select count() from sample_final sample 1/2;
select 'count sample final';
select count() from sample_final final sample 1/2;
select 'count final max_parallel_replicas';
set max_parallel_replicas=2;
select count() from remote('127.0.0.{2|3}', currentDatabase(), sample_final) final;
drop table if exists sample_final;