mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-10-20 15:30:50 +00:00
9 lines
244 B
SQL
9 lines
244 B
SQL
DROP TABLE IF EXISTS empty_pk;
|
|
CREATE TABLE empty_pk (x UInt64) ENGINE = MergeTree ORDER BY tuple() SETTINGS index_granularity = 256;
|
|
|
|
INSERT INTO empty_pk SELECT number FROM numbers(100000);
|
|
|
|
SELECT sum(x) from empty_pk;
|
|
|
|
DROP TABLE empty_pk;
|