mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 16:42:05 +00:00
Enhanced test [#CLICKHOUSE-3608]
This commit is contained in:
parent
3dd665179e
commit
f6eb5b4b01
@ -3,3 +3,13 @@
|
||||
[0,0,0,0,0]
|
||||
[0,0,0,0,0,0,0]
|
||||
[0,0,0,0,0,0,0,0,0]
|
||||
[0]
|
||||
[0,2,4]
|
||||
[0,2,4,6,8]
|
||||
[0,2,4,6,8,10,12]
|
||||
[0,2,4,6,8,10,12,14,16]
|
||||
[0] [0]
|
||||
[0,1,2] [0,2,4]
|
||||
[0,1,2,3,4] [0,2,4,6,8]
|
||||
[0,1,2,3,4,5,6] [0,2,4,6,8,10,12]
|
||||
[0,1,2,3,4,5,6,7,8] [0,2,4,6,8,10,12,14,16]
|
||||
|
@ -6,4 +6,8 @@ INSERT INTO test.nested SELECT number, number % 2, range(number % 10) FROM syste
|
||||
ALTER TABLE test.nested ADD COLUMN n.b Array(UInt64);
|
||||
SELECT DISTINCT n.b FROM test.nested PREWHERE filter;
|
||||
|
||||
ALTER TABLE test.nested ADD COLUMN n.c Array(UInt64) DEFAULT arrayMap(x -> x * 2, n.a);
|
||||
SELECT DISTINCT n.c FROM test.nested PREWHERE filter;
|
||||
SELECT DISTINCT n.a, n.c FROM test.nested PREWHERE filter;
|
||||
|
||||
DROP TABLE test.nested;
|
||||
|
Loading…
Reference in New Issue
Block a user