mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
22 lines
476 B
XML
22 lines
476 B
XML
<test>
|
|
<query>SELECT countIf(number % 2) FROM numbers(100000000)</query>
|
|
|
|
<query>
|
|
SELECT countIf(key IS NOT NULL)
|
|
FROM
|
|
(
|
|
SELECT materialize(toNullable(1)) AS key
|
|
FROM numbers(100000000)
|
|
)
|
|
</query>
|
|
|
|
<query>
|
|
SELECT countIf(key IS NOT NULL)
|
|
FROM
|
|
(
|
|
SELECT materialize(CAST(NULL, 'Nullable(Int8)')) AS key
|
|
FROM numbers(100000000)
|
|
)
|
|
</query>
|
|
</test>
|