mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 08:32:02 +00:00
Added test [#CLICKHOUSE-2].
This commit is contained in:
parent
2a57cfdbc2
commit
66436db836
@ -0,0 +1,13 @@
|
||||
['0','','1','','2','','3','','4','','5','','6','','7','','8','','9']
|
||||
['0','-','1','-','2','-','3','-','4','-','5','-','6','-','7','-','8','-','9']
|
||||
[[],[123],[0],[123],[0,1],[123],[0,1,2],[123],[0,1,2,3],[123],[0,1,2,3,4],[123],[0,1,2,3,4,5],[123],[0,1,2,3,4,5,6],[123],[0,1,2,3,4,5,6,7],[123],[0,1,2,3,4,5,6,7,8]]
|
||||
0 [0]
|
||||
1 [0,1]
|
||||
2 [0,0,2]
|
||||
3 [0,0,0,3]
|
||||
4 [0,0,0,0,4]
|
||||
5 [0,0,0,0,0,5]
|
||||
6 [0,0,0,0,0,0,6]
|
||||
7 [0,0,0,0,0,0,0,7]
|
||||
8 [0,0,0,0,0,0,0,0,8]
|
||||
9 [0,0,0,0,0,0,0,0,0,9]
|
@ -0,0 +1,4 @@
|
||||
SELECT groupArrayInsertAt(toString(number), number * 2) FROM (SELECT * FROM system.numbers LIMIT 10);
|
||||
SELECT groupArrayInsertAt('-')(toString(number), number * 2) FROM (SELECT * FROM system.numbers LIMIT 10);
|
||||
SELECT groupArrayInsertAt([123])(range(number), number * 2) FROM (SELECT * FROM system.numbers LIMIT 10);
|
||||
SELECT number, groupArrayInsertAt(number, number) FROM (SELECT * FROM system.numbers LIMIT 10) GROUP BY number ORDER BY number;
|
Loading…
Reference in New Issue
Block a user