test added`

This commit is contained in:
Dmitry Rubashkin 2019-07-25 19:26:48 +03:00
parent 21ebb72579
commit 46e4b45f96
2 changed files with 6 additions and 0 deletions

View File

@ -0,0 +1,5 @@
DROP TABLE IF EXISTS test;
CREATE TABLE test (num UInt64, str String) ENGINE = MergeTree ORDER BY num;
INSERT INTO test (num) VALUES (1), (2), (10), (15), (23);
SELECT count(*) FROM test WHERE bitmapContains(bitmapBuild([1, 5, 7, 9]), toUInt32(num));
DROP TABLE test;