ClickHouse/tests/performance/avg.xml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
761 B
XML
Raw Normal View History

2021-02-02 09:11:20 +00:00
<test>
2021-11-29 18:50:03 +00:00
<query>SELECT avg(number) FROM numbers(1000000000)</query>
<query>SELECT avg(number::Float64) FROM numbers(1000000000)</query>
<query>SELECT avg(number::Nullable(Float64)) FROM numbers(100000000)</query>
2021-11-23 17:28:05 +00:00
<query>
SELECT avgIf(key, key != -1)
FROM
(
SELECT materialize(1) AS key
FROM numbers(100000000)
)
</query>
<query>
SELECT avgIf(key, key != -1)
FROM
(
SELECT materialize(toNullable(1)) AS key
FROM numbers(100000000)
)
</query>
<query>
SELECT avg(key)
FROM
(
SELECT materialize(toNullable(1)) AS key
FROM numbers(100000000)
)
</query>
2021-02-02 09:11:20 +00:00
</test>