ClickHouse/tests/performance/bitmap_array_element.xml

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

13 lines
294 B
XML
Raw Permalink Normal View History

2022-09-30 03:15:57 +00:00
<test>
<query>
2022-09-30 03:20:07 +00:00
WITH
2022-09-30 03:15:57 +00:00
(
SELECT bitmapBuild(groupArray(number))
2022-10-03 12:56:34 +00:00
FROM numbers(3000000)
2022-09-30 03:15:57 +00:00
) AS a,
[a, a, a] AS b
SELECT sum(bitmapCardinality(b[(number % 3) + 1]))
FROM numbers(10000)
</query>
</test>