2020-07-10 23:33:36 +00:00
|
|
|
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);
|
2023-08-14 10:06:57 +00:00
|
|
|
CHECK TABLE check_codec SETTINGS max_threads = 1;
|
2020-07-10 23:33:36 +00:00
|
|
|
|
|
|
|
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);
|
2023-08-14 10:06:57 +00:00
|
|
|
CHECK TABLE check_codec SETTINGS max_threads = 1;
|
2020-07-10 23:33:36 +00:00
|
|
|
|
|
|
|
DROP TABLE check_codec;
|