mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
Update settings.md
This commit is contained in:
parent
54ac1f752f
commit
33a7180417
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user