ClickHouse/tests/performance/bitmap_array_element.xml
2022-10-03 14:56:34 +02:00

13 lines
294 B
XML

<test>
<query>
WITH
(
SELECT bitmapBuild(groupArray(number))
FROM numbers(3000000)
) AS a,
[a, a, a] AS b
SELECT sum(bitmapCardinality(b[(number % 3) + 1]))
FROM numbers(10000)
</query>
</test>