mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
Added test.
This commit is contained in:
parent
a8378e8ef0
commit
c11e04f9d9
@ -0,0 +1 @@
|
|||||||
|
1 1
|
@ -0,0 +1,6 @@
|
|||||||
|
DROP TABLE IF EXISTS han_1;
|
||||||
|
CREATE TABLE han_1 (k Int32, date_dt LowCardinality(Nullable(String)))
|
||||||
|
ENGINE = MergeTree() PARTITION BY k ORDER BY k;
|
||||||
|
INSERT INTO han_1 values (1, '2019-07-31');
|
||||||
|
SELECT k, uniq(date_dt) FROM remote('127.0.0.{1,2}', currentDatabase(), han_1) GROUP BY k;
|
||||||
|
DROP TABLE IF EXISTS han_1;
|
Loading…
Reference in New Issue
Block a user