Skip to content

Commit b370c86

Browse files
authored
Merge pull request ClickHouse#80653 from rschu1ze/docs-join-settings
Update settings descriptions of two join optimizations
2 parents 1e71bdf + 9fef0a7 commit b370c86

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Core/Settings.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2021,7 +2021,7 @@ DECLARE(BoolAuto, query_plan_join_swap_table, Field("auto"), R"(
20212021
)", 0) \
20222022
\
20232023
DECLARE(Bool, query_plan_join_shard_by_pk_ranges, false, R"(
2024-
Apply sharding for JOIN if join keys contain a prefix of PRIMARY KEY for both tables. Supported for hash, parallel_hash and full_sorting_merge algorithms
2024+
Apply sharding for JOIN if join keys contain a prefix of PRIMARY KEY for both tables. Supported for hash, parallel_hash and full_sorting_merge algorithms. Usually does not speed up queries but may lower memory consumption.
20252025
)", 0) \
20262026
\
20272027
DECLARE(UInt64, preferred_block_size_bytes, 1000000, R"(
@@ -5267,7 +5267,7 @@ Allow to convert OUTER JOIN to INNER JOIN if filter after JOIN always filters de
52675267
Allow to merge filter into JOIN condition and convert CROSS JOIN to INNER.
52685268
)", 0) \
52695269
DECLARE(Bool, query_plan_convert_join_to_in, false, R"(
5270-
Allow to convert JOIN to subquery with IN if output columns tied to only left table
5270+
Allow to convert JOIN to subquery with IN if output columns tied to only left table. May cause wrong results with non-ANY JOINs (e.g. ALL JOINs which is the default).
52715271
)", 0) \
52725272
DECLARE(Bool, query_plan_optimize_prewhere, true, R"(
52735273
Allow to push down filter to PREWHERE expression for supported storages

0 commit comments

Comments
 (0)