ClickHouse/tests/performance/sum.xml
2020-05-18 07:55:06 +03:00

20 lines
1.2 KiB
XML

<test>
<query>SELECT sum(number) FROM numbers(100000000)</query>
<query>SELECT sum(toUInt32(number)) FROM numbers(100000000)</query>
<query>SELECT sum(toUInt16(number)) FROM numbers(100000000)</query>
<query>SELECT sum(toUInt8(number)) FROM numbers(100000000)</query>
<query>SELECT sum(toFloat32(number)) FROM numbers(100000000)</query>
<query>SELECT sum(toFloat64(number)) FROM numbers(100000000)</query>
<query>SELECT sumKahan(toFloat32(number)) FROM numbers(100000000)</query>
<query>SELECT sumKahan(toFloat64(number)) FROM numbers(100000000)</query>
<query>SELECT sum(toNullable(number)) FROM numbers(100000000)</query>
<query>SELECT sum(toNullable(toUInt32(number))) FROM numbers(100000000)</query>
<query>SELECT sum(toNullable(toUInt16(number))) FROM numbers(100000000)</query>
<query>SELECT sum(toNullable(toUInt8(number))) FROM numbers(100000000)</query>
<query>SELECT sum(toNullable(toFloat32(number))) FROM numbers(100000000)</query>
<query>SELECT sum(toNullable(toFloat64(number))) FROM numbers(100000000)</query>
<query>SELECT sumKahan(toNullable(toFloat32(number))) FROM numbers(100000000)</query>
<query>SELECT sumKahan(toNullable(toFloat64(number))) FROM numbers(100000000)</query>
</test>