mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
Add a test for #17964
This commit is contained in:
parent
7032998108
commit
76c7a0bd49
2
tests/queries/0_stateless/01914_index_bgranvea.reference
Normal file
2
tests/queries/0_stateless/01914_index_bgranvea.reference
Normal file
@ -0,0 +1,2 @@
|
||||
1 1 1
|
||||
1 1 1
|
9
tests/queries/0_stateless/01914_index_bgranvea.sql
Normal file
9
tests/queries/0_stateless/01914_index_bgranvea.sql
Normal file
@ -0,0 +1,9 @@
|
||||
DROP TABLE IF EXISTS test;
|
||||
create table test (id UInt64,insid UInt64,insidvalue Nullable(UInt64), index insid_idx (insid) type bloom_filter() granularity 1, index insidvalue_idx (insidvalue) type bloom_filter() granularity 1) ENGINE=MergeTree() ORDER BY (insid,id);
|
||||
|
||||
insert into test values(1,1,1),(2,2,2);
|
||||
|
||||
select * from test where insid IN (1) OR insidvalue IN (1);
|
||||
select * from test where insid IN (1) AND insidvalue IN (1);
|
||||
|
||||
DROP TABLE test;
|
Loading…
Reference in New Issue
Block a user