mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-15 02:41:59 +00:00
16 lines
352 B
SQL
16 lines
352 B
SQL
DROP TABLE IF EXISTS test_parallel_index;
|
|
|
|
CREATE TABLE test_parallel_index
|
|
(
|
|
z UInt64,
|
|
INDEX i z TYPE set(8)
|
|
)
|
|
ENGINE = MergeTree
|
|
ORDER BY ();
|
|
|
|
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;
|