mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-17 21:24:28 +00:00
16 lines
574 B
MySQL
16 lines
574 B
MySQL
|
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;
|
||
|
|
||
|
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;
|
||
|
|
||
|
DROP TABLE check_codec;
|