mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-10-20 23:41:01 +00:00
9 lines
244 B
MySQL
9 lines
244 B
MySQL
|
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;
|