mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-14 10:22:10 +00:00
Update comments for test
This commit is contained in:
parent
51d347b063
commit
c3ac011795
@ -1,10 +1,10 @@
|
|||||||
-- Checks that no bad things happen when the table optimizes the row order to improve compressability during inserts.
|
-- Checks that no bad things happen when the table optimizes the row order to improve compressability during just simple insert.
|
||||||
|
|
||||||
DROP TABLE IF EXISTS tab;
|
DROP TABLE IF EXISTS tab;
|
||||||
|
|
||||||
CREATE TABLE tab (name String, event Int8) ENGINE = MergeTree ORDER BY name SETTINGS allow_experimental_optimized_row_order = true;
|
CREATE TABLE tab (name String, event Int8) ENGINE = MergeTree ORDER BY name SETTINGS allow_experimental_optimized_row_order = true;
|
||||||
INSERT INTO tab VALUES ('Igor', 3), ('Egor', 1), ('Egor', 2), ('Igor', 2), ('Igor', 1);
|
INSERT INTO tab VALUES ('Igor', 3), ('Egor', 1), ('Egor', 2), ('Igor', 2), ('Igor', 1);
|
||||||
|
|
||||||
SELECT * FROM tab ORDER BY name SETTINGS max_threads=1;
|
SELECT * FROM tab SETTINGS max_threads=1;
|
||||||
|
|
||||||
DROP TABLE tab;
|
DROP TABLE tab;
|
||||||
|
Loading…
Reference in New Issue
Block a user