ClickHouse/tests/performance/array_fold.xml

6 lines
380 B
XML
Raw Normal View History

2023-05-10 11:18:15 +00:00
<test>
2023-10-24 08:56:09 +00:00
<query>SELECT arrayFold((acc, x) -> acc + x, range(number % 100), toUInt64(0)) from numbers(100000) Format Null</query>
<query>SELECT arrayFold((acc, x) -> acc + 1, range(number % 100), toUInt64(0)) from numbers(100000) Format Null</query>
<query>SELECT arrayFold((acc, x) -> acc + x, range(number), toUInt64(0)) from numbers(10000) Format Null</query>
2023-05-10 11:18:15 +00:00
</test>