Merge pull request #61931 from ClickHouse/fix-aggregating-merge-tree-simple-aggregate-function-string

Fix performance test `aggregating_merge_tree_simple_aggregate_function_string`
This commit is contained in:
János Benjamin Antal 2024-03-28 08:39:45 +01:00 committed by GitHub
commit e288528ede
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 10 additions and 3 deletions

View File

@ -1776,7 +1776,7 @@ Default value: 0 (no restriction).
## insert_quorum {#insert_quorum} ## insert_quorum {#insert_quorum}
:::note :::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. Enables the quorum writes.
@ -1819,7 +1819,7 @@ See also:
## insert_quorum_parallel {#insert_quorum_parallel} ## insert_quorum_parallel {#insert_quorum_parallel}
:::note :::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. 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.
@ -1840,7 +1840,7 @@ See also:
## select_sequential_consistency {#select_sequential_consistency} ## select_sequential_consistency {#select_sequential_consistency}
:::note :::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). Enables or disables sequential consistency for `SELECT` queries. Requires `insert_quorum_parallel` to be disabled (enabled by default).
@ -5453,3 +5453,7 @@ Enabling this setting can lead to incorrect result as in case of evolved schema
::: :::
Default value: 'false'. Default value: 'false'.
## allow_suspicious_primary_key {#allow_suspicious_primary_key}
Allow suspicious `PRIMARY KEY`/`ORDER BY` for MergeTree (i.e. SimpleAggregateFunction).

View File

@ -1,4 +1,7 @@
<test> <test>
<settings>
<allow_suspicious_primary_key>1</allow_suspicious_primary_key>
</settings>
<create_query> <create_query>
CREATE TABLE bench CREATE TABLE bench
ENGINE = AggregatingMergeTree() ENGINE = AggregatingMergeTree()