Update settings.md

This commit is contained in:
Denny Crane 2022-02-15 15:21:45 -04:00 committed by GitHub
parent 54ac1f752f
commit 33a7180417
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1826,14 +1826,14 @@ ENGINE = MergeTree
ORDER BY A
SETTINGS non_replicated_deduplication_window = 100;
INSERT INTO test_table FORMAT Values SETTINGS insert_deduplication_token = 'test' (1);
INSERT INTO test_table Values SETTINGS insert_deduplication_token = 'test' (1);
-- the next insert won't be deduplicated because insert_deduplication_token is different
INSERT INTO test_table FORMAT Values SETTINGS insert_deduplication_token = 'test1' (1);
INSERT INTO test_table Values SETTINGS insert_deduplication_token = 'test1' (1);
-- the next insert will be deduplicated because insert_deduplication_token
-- is the same as one of the previous
INSERT INTO test_table FORMAT Values SETTINGS insert_deduplication_token = 'test' (2);
INSERT INTO test_table Values SETTINGS insert_deduplication_token = 'test' (2);
SELECT * FROM test_table