ClickHouse/tests/performance/bigint_arithm.xml

16 lines
844 B
XML
Raw Normal View History

2020-09-29 17:52:34 +00:00
<test>
<settings>
<max_memory_usage>10G</max_memory_usage>
</settings>
<query>SELECT toInt128(number) + number FROM numbers_mt(1000000000) FORMAT Null</query>
<query>SELECT toInt128(number) - number FROM numbers_mt(1000000000) FORMAT Null</query>
<query>SELECT toInt128(number) * number FROM numbers_mt(1000000000) FORMAT Null</query>
<query>SELECT toInt128(number) / number FROM numbers_mt(1000000000) FORMAT Null</query>
<query>SELECT toInt256(number) + number FROM numbers_mt(100000000) FORMAT Null</query>
<query>SELECT toInt256(number) - number FROM numbers_mt(100000000) FORMAT Null</query>
<query>SELECT toInt256(number) * number FROM numbers_mt(100000000) FORMAT Null</query>
<query>SELECT intDiv(toInt256(number + 1), number + 1) FROM numbers_mt(100000000) FORMAT Null</query>
</test>