Add simple functional tests

This commit is contained in:
Igor Markelov 2024-05-26 20:58:15 +00:00
parent 5a3554b221
commit be950b0b96
2 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1,5 @@
Egor 1
Egor 2
Igor 1
Igor 2
Igor 3

View File

@ -0,0 +1,3 @@
CREATE TEMPORARY TABLE test (name String, event Int8) ENGINE = MergeTree ORDER BY (name) SETTINGS allow_experimental_optimized_row_order = True;
INSERT INTO test VALUES ('Igor', 3), ('Egor', 1), ('Egor', 2), ('Igor', 2), ('Igor', 1);
SELECT * FROM test ORDER BY (name) SETTINGS optimize_read_in_order=1;