update operations/settings/merge-tree-settings.md

This commit is contained in:
zxc111 2021-07-15 23:58:44 +08:00
parent 4cc98c8fd8
commit 70ec444400

View File

@ -278,4 +278,16 @@ Possible values:
Default value: `0`.
## check_sample_column_is_correct {#check_sample_column_is_correct}
Enables to check column or column by hash for sampling is correct at creation table.
Possible values:
- true — Check column for sampling is correct at creation table
- false — Check column for sampling is correct at creation table will be ignored.
Default value: `true`.
By default, the ClickHouse server check sampling condition at creation table. If you already had tables with incorrect sampling condition, set value `false` to make ClickHouse server do not raise exception when ClickHouse server is starting.
[Original article](https://clickhouse.tech/docs/en/operations/settings/merge_tree_settings/) <!--hide-->