This commit is contained in:
Nikita Mikhailov 2019-08-02 16:12:21 +03:00 committed by Alexey Milovidov
parent 200b994628
commit 78250ea23f
2 changed files with 50 additions and 0 deletions

View File

@ -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]

View 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));