From f90a8cebfd81fe67c13a7f7678e9821266b74336 Mon Sep 17 00:00:00 2001 From: Nikolai Kochetov Date: Mon, 25 Nov 2019 18:44:15 +0300 Subject: [PATCH] Add test with remote, final and max_parallel_replicas. --- dbms/tests/queries/0_stateless/01034_sample_final.reference | 2 ++ dbms/tests/queries/0_stateless/01034_sample_final.sql | 3 +++ 2 files changed, 5 insertions(+) diff --git a/dbms/tests/queries/0_stateless/01034_sample_final.reference b/dbms/tests/queries/0_stateless/01034_sample_final.reference index 27d4f3723b3..bbb327295f3 100644 --- a/dbms/tests/queries/0_stateless/01034_sample_final.reference +++ b/dbms/tests/queries/0_stateless/01034_sample_final.reference @@ -6,3 +6,5 @@ count sample 557632 count sample final 371758 +count final max_parallel_replicas +666667 diff --git a/dbms/tests/queries/0_stateless/01034_sample_final.sql b/dbms/tests/queries/0_stateless/01034_sample_final.sql index 3218428ff45..ca03daebe12 100644 --- a/dbms/tests/queries/0_stateless/01034_sample_final.sql +++ b/dbms/tests/queries/0_stateless/01034_sample_final.sql @@ -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;