From 22bc508dc45c403ca65315bd2b0ca654ec66e419 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 14 Dec 2019 13:28:16 +0800 Subject: [PATCH] use currentDatabase(). --- dbms/tests/queries/0_stateless/01046_trivial_count_query.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbms/tests/queries/0_stateless/01046_trivial_count_query.sql b/dbms/tests/queries/0_stateless/01046_trivial_count_query.sql index fc9421a8654..8bfafe8e963 100644 --- a/dbms/tests/queries/0_stateless/01046_trivial_count_query.sql +++ b/dbms/tests/queries/0_stateless/01046_trivial_count_query.sql @@ -4,6 +4,6 @@ CREATE TABLE test_count (`pt` Date) ENGINE = MergeTree PARTITION BY pt ORDER BY INSERT INTO test_count values ('2019-12-12'); -SELECT count(1) FROM remote('127.0.0.{1,1,2}',default,test_count); +SELECT count(1) FROM remote('127.0.0.{1,1,2}', currentDatabase(), test_count); DROP TABLE test_count;