mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-04 13:32:13 +00:00
Add a test for #7963
This commit is contained in:
parent
6a7d873ea2
commit
e6c85df04b
@ -0,0 +1,3 @@
|
|||||||
|
10000000
|
||||||
|
1
|
||||||
|
9999999
|
7
tests/queries/0_stateless/01771_bloom_filter_not_has.sql
Normal file
7
tests/queries/0_stateless/01771_bloom_filter_not_has.sql
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
DROP TABLE IF EXISTS bloom_filter_null_array;
|
||||||
|
CREATE TABLE bloom_filter_null_array (v Array(Int32), INDEX idx v TYPE bloom_filter GRANULARITY 3) ENGINE = MergeTree() ORDER BY v;
|
||||||
|
INSERT INTO bloom_filter_null_array SELECT [number] FROM numbers(10000000);
|
||||||
|
SELECT COUNT() FROM bloom_filter_null_array;
|
||||||
|
SELECT COUNT() FROM bloom_filter_null_array WHERE has(v, 0);
|
||||||
|
SELECT COUNT() FROM bloom_filter_null_array WHERE not has(v, 0);
|
||||||
|
DROP TABLE bloom_filter_null_array;
|
Loading…
Reference in New Issue
Block a user