Skip to content

Commit

Permalink
Merge pull request ClickHouse#61931 from ClickHouse/fix-aggregating-m…
Browse files Browse the repository at this point in the history
…erge-tree-simple-aggregate-function-string

Fix performance test `aggregating_merge_tree_simple_aggregate_function_string`
  • Loading branch information
antaljanosbenjamin authored Mar 28, 2024
2 parents de1c687 + d0240e5 commit e288528
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
10 changes: 7 additions & 3 deletions docs/en/operations/settings/settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -1776,7 +1776,7 @@ Default value: 0 (no restriction).
## insert_quorum {#insert_quorum}

:::note
This setting is not applicable to SharedMergeTree, see [SharedMergeTree consistency](/docs/en/cloud/reference/shared-merge-tree/#consistency) for more information.
This setting is not applicable to SharedMergeTree, see [SharedMergeTree consistency](/docs/en/cloud/reference/shared-merge-tree/#consistency) for more information.
:::

Enables the quorum writes.
Expand Down Expand Up @@ -1819,7 +1819,7 @@ See also:
## insert_quorum_parallel {#insert_quorum_parallel}

:::note
This setting is not applicable to SharedMergeTree, see [SharedMergeTree consistency](/docs/en/cloud/reference/shared-merge-tree/#consistency) for more information.
This setting is not applicable to SharedMergeTree, see [SharedMergeTree consistency](/docs/en/cloud/reference/shared-merge-tree/#consistency) for more information.
:::

Enables or disables parallelism for quorum `INSERT` queries. If enabled, additional `INSERT` queries can be sent while previous queries have not yet finished. If disabled, additional writes to the same table will be rejected.
Expand All @@ -1840,7 +1840,7 @@ See also:
## select_sequential_consistency {#select_sequential_consistency}

:::note
This setting differ in behavior between SharedMergeTree and ReplicatedMergeTree, see [SharedMergeTree consistency](/docs/en/cloud/reference/shared-merge-tree/#consistency) for more information about the behavior of `select_sequential_consistency` in SharedMergeTree.
This setting differ in behavior between SharedMergeTree and ReplicatedMergeTree, see [SharedMergeTree consistency](/docs/en/cloud/reference/shared-merge-tree/#consistency) for more information about the behavior of `select_sequential_consistency` in SharedMergeTree.
:::

Enables or disables sequential consistency for `SELECT` queries. Requires `insert_quorum_parallel` to be disabled (enabled by default).
Expand Down Expand Up @@ -5453,3 +5453,7 @@ Enabling this setting can lead to incorrect result as in case of evolved schema
:::

Default value: 'false'.

## allow_suspicious_primary_key {#allow_suspicious_primary_key}

Allow suspicious `PRIMARY KEY`/`ORDER BY` for MergeTree (i.e. SimpleAggregateFunction).
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
<test>
<settings>
<allow_suspicious_primary_key>1</allow_suspicious_primary_key>
</settings>
<create_query>
CREATE TABLE bench
ENGINE = AggregatingMergeTree()
Expand Down

0 comments on commit e288528

Please sign in to comment.