mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-16 03:12:43 +00:00
fe95c0d0e4
Resubmit PR #52745
18 lines
593 B
SQL
18 lines
593 B
SQL
DROP TABLE IF EXISTS t_sparse_02235;
|
|
|
|
CREATE TABLE t_sparse_02235 (a UInt8) ENGINE = MergeTree ORDER BY tuple()
|
|
SETTINGS ratio_of_defaults_for_sparse_serialization = 0.9;
|
|
|
|
SYSTEM STOP MERGES t_sparse_02235;
|
|
|
|
INSERT INTO t_sparse_02235 SELECT 1 FROM numbers(1000);
|
|
INSERT INTO t_sparse_02235 SELECT 0 FROM numbers(1000);
|
|
|
|
SELECT name, column, serialization_kind FROM system.parts_columns
|
|
WHERE database = currentDatabase() AND table = 't_sparse_02235'
|
|
ORDER BY name, column;
|
|
|
|
CHECK TABLE t_sparse_02235 SETTINGS check_query_single_value_result = 0, max_threads = 1;
|
|
|
|
DROP TABLE t_sparse_02235;
|