<test>



    <query>SELECT arrayReduce('count', range(100000000))</query>
    <query>SELECT arrayReduce('sum', range(100000000))</query>
    <query>SELECT arrayReduceInRanges('count', [(1, 100000000)], range(100000000))</query>
    <query>SELECT arrayReduceInRanges('sum', [(1, 100000000)], range(100000000))</query>
    <query>SELECT arrayReduceInRanges('count', arrayZip(range(1000000), range(1000000)), range(100000000))[123456]</query>
    <query>SELECT arrayReduceInRanges('sum', arrayZip(range(1000000), range(1000000)), range(100000000))[123456]</query>
</test>