mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
use currentDatabase().
This commit is contained in:
parent
63aaf64e93
commit
22bc508dc4
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user