mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-30 03:22:14 +00:00
97f2a2213e
* Move some code outside dbms/src folder * Fix paths
10 lines
303 B
SQL
10 lines
303 B
SQL
DROP TABLE IF EXISTS test_count;
|
|
|
|
CREATE TABLE test_count (`pt` Date) ENGINE = MergeTree PARTITION BY pt ORDER BY pt SETTINGS index_granularity = 8192;
|
|
|
|
INSERT INTO test_count values ('2019-12-12');
|
|
|
|
SELECT count(1) FROM remote('127.0.0.{1,1,2}', currentDatabase(), test_count);
|
|
|
|
DROP TABLE test_count;
|