mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
tests
This commit is contained in:
parent
200b994628
commit
78250ea23f
@ -0,0 +1,41 @@
|
||||
0 ([100,200],[30,30])
|
||||
0 ([100,200],[30,30])
|
||||
1 ([100,200],[30,30])
|
||||
2 ([100,200],[30,30])
|
||||
3 ([100,200],[30,30])
|
||||
4 ([100,200],[30,30])
|
||||
5 ([100,200],[30,30])
|
||||
6 ([100,200],[30,30])
|
||||
7 ([100,200],[30,30])
|
||||
8 ([100,200],[30,30])
|
||||
9 ([100,200],[30,30])
|
||||
0 ([100,200],[30,30])
|
||||
1 ([100,200],[30,30])
|
||||
2 ([100,200],[30,30])
|
||||
3 ([100,200],[30,30])
|
||||
4 ([100,200],[30,30])
|
||||
5 ([100,200],[30,30])
|
||||
6 ([100,200],[30,30])
|
||||
7 ([100,200],[30,30])
|
||||
8 ([100,200],[30,30])
|
||||
9 ([100,200],[30,30])
|
||||
0 400
|
||||
1 400
|
||||
2 400
|
||||
3 400
|
||||
4 400
|
||||
5 400
|
||||
6 400
|
||||
7 400
|
||||
8 400
|
||||
9 400
|
||||
0 [100,100,200]
|
||||
1 [100,100,200]
|
||||
2 [100,100,200]
|
||||
3 [100,100,200]
|
||||
4 [100,100,200]
|
||||
5 [100,100,200]
|
||||
6 [100,100,200]
|
||||
7 [100,100,200]
|
||||
8 [100,100,200]
|
||||
9 [100,100,200]
|
9
dbms/tests/queries/0_stateless/00978_sum_map_bugfix.sql
Normal file
9
dbms/tests/queries/0_stateless/00978_sum_map_bugfix.sql
Normal file
@ -0,0 +1,9 @@
|
||||
select number, arrayReduce( 'sumMap', [a],[b] ) from (select [100,100,200] a,[10,20,30] b, number from numbers(1));
|
||||
|
||||
select number, arrayReduce( 'sumMap', [a],[b] ) from (select materialize([100,100,200]) a,materialize([10,20,30]) b, number from numbers(10));
|
||||
|
||||
select number, arrayReduce( 'sumMap', [a],[b] ) from (select [100,100,200] a,[10,20,30] b, number from numbers(10));
|
||||
|
||||
select number, arrayReduce( 'sum', a) from (select materialize([100,100,200]) a, number from numbers(10));
|
||||
|
||||
select number, arrayReduce( 'max', [a] ) from (select materialize([100,100,200]) a, number from numbers(10));
|
Loading…
Reference in New Issue
Block a user