mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 16:42:05 +00:00
16 lines
624 B
SQL
16 lines
624 B
SQL
SET check_query_single_value_result = 0;
|
|
|
|
DROP TABLE IF EXISTS check_codec;
|
|
|
|
CREATE TABLE check_codec(a Int, b Int CODEC(Delta, ZSTD)) ENGINE = MergeTree ORDER BY a SETTINGS min_bytes_for_wide_part = 0;
|
|
INSERT INTO check_codec SELECT number, number * 2 FROM numbers(1000);
|
|
CHECK TABLE check_codec SETTINGS max_threads = 1;
|
|
|
|
DROP TABLE check_codec;
|
|
|
|
CREATE TABLE check_codec(a Int, b Int CODEC(Delta, ZSTD)) ENGINE = MergeTree ORDER BY a SETTINGS min_bytes_for_wide_part = '10M';
|
|
INSERT INTO check_codec SELECT number, number * 2 FROM numbers(1000);
|
|
CHECK TABLE check_codec SETTINGS max_threads = 1;
|
|
|
|
DROP TABLE check_codec;
|