ClickHouse/tests/queries/0_stateless/02962_analyzer_constant_set.sql

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

16 lines
352 B
MySQL
Raw Normal View History

2024-01-13 03:14:57 +00:00
DROP TABLE IF EXISTS test_parallel_index;
2024-01-13 03:14:57 +00:00
CREATE TABLE test_parallel_index
(
z UInt64,
INDEX i z TYPE set(8)
)
ENGINE = MergeTree
ORDER BY ();
2024-01-13 03:14:57 +00:00
insert into test_parallel_index select number from numbers(10);
select sum(z) from test_parallel_index where z = 2 or z = 7 or z = 13 or z = 17 or z = 19 or z = 23;
DROP TABLE test_parallel_index;