Merge pull request #34058 from FArthur-cmd/26686_test_final_modifier

Small test for `FINAL`
This commit is contained in:
alexey-milovidov 2022-01-27 22:55:41 +03:00 committed by GitHub
commit 2c85373966
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,2 @@
something 1
something 1

View File

@ -0,0 +1,15 @@
DROP TABLE IF EXISTS test_02187;
CREATE TABLE test_02187 (
info String,
id Int32
)
ENGINE = ReplacingMergeTree(id)
ORDER BY id;
INSERT INTO TABLE test_02187 VALUES ('nothing', 1);
INSERT INTO TABLE test_02187 VALUES ('something', 1);
SELECT * FROM test_02187 FINAL;
SELECT * FROM test_02187 FINAL LIMIT 1;