mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 08:32:02 +00:00
Add test
This commit is contained in:
parent
6b1352f65c
commit
a3944624a0
@ -0,0 +1 @@
|
||||
1
|
@ -0,0 +1,19 @@
|
||||
DROP TABLE IF EXISTS test1;
|
||||
DROP TABLE IF EXISTS test2;
|
||||
|
||||
CREATE TABLE test1 (a UInt8, b Array(DateTime)) ENGINE Memory;
|
||||
CREATE TABLE test2 as test1 ENGINE Distributed(test_shard, currentDatabase(), test1);
|
||||
|
||||
INSERT INTO test1 VALUES (1, [1, 2, 3]);
|
||||
|
||||
SELECT 1
|
||||
FROM d1 AS d1
|
||||
ARRAY JOIN arrayFilter(t -> (t GLOBAL IN
|
||||
(
|
||||
SELECT DISTINCT now() AS `ym:a`
|
||||
WHERE 1
|
||||
)), d1.a) AS d1_a
|
||||
WHERE 1;
|
||||
|
||||
DROP TABLE test1;
|
||||
DROP TABLE test2;
|
Loading…
Reference in New Issue
Block a user