Skip to content

Introduce statistics-based disabling of join runtime filters (#96095) - #97501

Open
il9ue wants to merge 29 commits into
ClickHouse:masterfrom
il9ue:feature/stat-based-runtime-filter-disable
Open

il9ue wants to merge 29 commits into
ClickHouse:masterfrom
il9ue:feature/stat-based-runtime-filter-disable

Conversation

@il9ue

@il9ue il9ue commented Feb 20, 2026 •

Copy link
Copy Markdown
Contributor

Resolves #96095

Summary

Runtime filters built on high-NDV join keys (e.g., large PK-FK joins) can saturate the Bloom filter, causing it to pass almost every probe row. This wastes CPU for building and evaluating the filter with zero query speedup. This optimization detects saturation at planning time using build-side statistics.

This PR adds a planning-phase heuristic that skips building join runtime filters when table statistics indicate the filter will be ineffective due to high saturation. This avoids unnecessary CPU cost from building and evaluating Bloom filters that would pass nearly all probe rows.

New setting: join_runtime_bloom_filter_max_estimated_ratio_of_set_bits (float, default: 1.0).

  • Defines the maximum allowed Bloom filter saturation ratio.
  • Set to 1.0 to disable this optimization entirely.

Changes

joinRuntimeFilter.cpp: Added shouldDisableRuntimeFilter() and getJoinKeyStats() helpers. Injected statistics check inside tryAddJoinRuntimeFilter before filter steps are added to the plan.

  • Math: Replaced heuristic-based checks with a rigorous Bloom filter saturation formula () based on build-side NDV.
  • Settings.cpp**: Added join_runtime_filter_build_saturation_threshold (Float, default 0.9).
  • QueryPlanOptimizationSettings.h/.cpp: Exposed the new setting and the existing Bloom filter settings (bytes, hashes) to the optimizer.
  • Tests: Updated 03437_runtime_filter_saturation.sql to cover saturation scenarios using small, highly-saturated Bloom filters.

Disabling Conditions

The optimization estimates the expected Bloom Filter Saturation using:

  • Build-side NDV (Number of Distinct Values)
  • Bloom filter size in bits (join_runtime_bloom_filter_bytes * 8)
  • Number of hash functions (join_runtime_bloom_filter_hash_functions)

If the expected saturation () exceeds join_runtime_filter_build_saturation_threshold (default 0.9), the runtime filter is skipped at planning time.

Example:

-- Disable the heuristic entirely (always build filters)
SET join_runtime_filter_build_saturation_threshold = 1.0;

-- Use a stricter threshold (only disable completely useless filters)
SET join_runtime_filter_build_saturation_threshold = 0.99;

The optimization is a no-op when table statistics are unavailable — runtime filters remain enabled in that case.

Changelog category (leave one):

  • Performance Improvement

Changelog entry:

Added settingjoin_runtime_bloom_filter_max_estimated_ratio_of_set_bits (default 1.0) which skips building join runtime filters at planning time when column statistics indicate the Bloom filter will be highly saturated. This avoids wasting CPU time to build an ineffective runtime filter for joins that have a high number of distinct values (NDV) on the build side. The new check uses the build-side NDV and configured Bloom filter size to mathematically estimate saturation.


Note

Medium Risk
Changes query-plan optimization to conditionally omit JOIN runtime filters based on build-side statistics and configured Bloom filter parameters, which can alter generated plans and performance characteristics. Logic is best-effort and has fallbacks, but misestimation could skip beneficial filters or add overhead in edge cases.

Overview
Adds a planning-phase heuristic in joinRuntimeFilter.cpp that estimates Bloom filter saturation (1 - exp(-k*n/m)) from build-side NDV/row-count stats (respecting LIMIT) and skips creating runtime filters when they are expected to be ineffective, using join_runtime_bloom_filter_max_ratio_of_set_bits as the threshold.

Plumbs Bloom filter size/hash settings into QueryPlanOptimizationSettings (and adjusts types to size_t), updates the setting documentation to note its planning-time use, and adds stateless tests asserting when runtime filters are present/absent under high saturation, low saturation via LIMIT, and missing statistics fallbacks.

Separately, silences specific static-analysis/compiler warnings (empty catch in memory.h, clang diagnostic around reinterpret_cast in IAST::flags()).

Written by Cursor Bugbot for commit cc6d6ca. This will update automatically on new commits. Configure here.


Workflow [PR]
Sync PR [sync-upstream/pr/97501]

@UnamedRus

Copy link
Copy Markdown
Contributor
-- Disable runtime filter heuristic entirely (revert to old behavior)
SET max_runtime_filter_ndv_ratio = 1.0;

Is runtime_filter will be used as keyword only for bloom filters in JOIN step. (For example DISTINCT, #77728, it's not called runtime filter, but probably can be)
Because, the are other keywords which can benefit from similar idea.
And they will either have their own threshold and settings names (and join ones, better to have prefix that it's about join filters) or there will be global switch for all of them.

@rschu1ze

This comment was marked as resolved.

@rschu1ze rschu1ze added the can be tested Allows running workflows for external contributors label Feb 20, 2026
@clickhouse-gh

clickhouse-gh Bot commented Feb 20, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [2e13141]

Summary: ❌

job_name test_name status info comment
Fast test FAIL
03437_runtime_filter_saturation FAIL cidb
04056_runtime_filter_selectivity_cap FAIL cidb
Code Review DROPPED
Fast test (arm_darwin) DROPPED
Build (amd_debug) DROPPED
Build (amd_asan_ubsan) DROPPED
Build (amd_tsan) DROPPED
Build (amd_msan) DROPPED
Build (amd_binary) DROPPED
Build (arm_debug) DROPPED
Build (arm_asan_ubsan) DROPPED

@clickhouse-gh clickhouse-gh Bot added the pr-performance Pull request with some performance improvements label Feb 20, 2026
@cv4g cv4g self-assigned this Feb 20, 2026
@il9ue
il9ue force-pushed the feature/stat-based-runtime-filter-disable branch 6 times, most recently from ffd84a8 to f8274fa Compare February 22, 2026 15:24
@rschu1ze

rschu1ze commented Feb 22, 2026 •

Copy link
Copy Markdown
Member

Let's please discuss how this should work at all. As of today, runtime filters can be dynamically (at runtime) disabled because of two reasons:

  1. More than 70% of the bits in the bloom filter are set (setting join_runtime_bloom_filter_max_ratio_of_set_bits). Note that this criterion depends only on the build side.
  2. More than 70% of all rows pass (setting join_runtime_filter_pass_ratio_threshold_for_disabling). This depends only on the probe side.

In other words, 1. protects against cases where the values on the probe side are uniformly distributed whereas 2. protects against cases where the probe-side value distribution is skewed.

I think we should generally try to align the new static disabling conditions with the existing dynamic disabling conditions.

For the existing dynamic disabling condition 1. this means, we should try to estimate at optimization time if more than 70% of all rows in the bloom filter will be set. Such an estimation can be done based on

  • the estimated build-side NDV, and
  • settings join_runtime_bloom_filter_bytes (default: 512 kB) and join_runtime_bloom_filter_hash_functions (default: 3) which together allow to calculate the filter saturation from on the NDV. Note that this assumes uniform distribution but that is okay.

The other existing disabling condition 2. is harder.

In the absence of histograms, we must again assume a uniform distribution on the probe side. We want (conceptually) estimate how many rows (*) of the probe-side rows pass the bloom filter. A match in the bloom filter is expected to mean "this probe-side row finds a join partner", therefore (*) is close to the expected output size of the join itself. There exists some math to calculate that under some conditions, in particular the containment assumption, see p. 97/98 here.

This PR introduces three criteria which look at the probe side.

Disabling Conditions (any one is sufficient)
PK-FK Saturation: NDV(build_key) / row_count(probe) >= threshold
NDV Parity: min(NDV_build, NDV_probe) / max(NDV_build, NDV_probe) >= threshold
Size Inversion: row_count(build) >= row_count(probe)

These criterial don't look very convincing to me, to be honest. Given that the math makes a lot of assumptions and dynamic disabling at probe time provides a fallback, I am very tempted to have static disabling only for the build side.

return std::nullopt;
}

static bool shouldDisableRuntimeFilter(

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All of this will need lots of code comments that explain the rationale and math.

Comment thread src/Core/Settings.cpp Outdated
@@ -5634,6 +5634,11 @@ Possible values:

- 0 - Disable all optimizations at the query plan level
- 1 - Enable optimizations at the query plan level (but individual optimizations may still be disabled via their individual settings)
)", 0) \
DECLARE(Double, query_plan_join_runtime_filter_saturation_threshold, 0.9, R"(

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's move this next to the related settings with prefix join_runtime_* and rename to join_runtime_[...]

@il9ue
il9ue force-pushed the feature/stat-based-runtime-filter-disable branch from f8274fa to a7ff2b7 Compare February 23, 2026 14:06
@il9ue

il9ue commented Feb 23, 2026

Copy link
Copy Markdown
Contributor Author

Let's please discuss how this should work at all. As of today, runtime filters can be dynamically (at runtime) disabled because of two reasons:

  1. More than 70% of the bits in the bloom filter are set (setting join_runtime_bloom_filter_max_ratio_of_set_bits). Note that this criterion depends only on the build side.
  2. More than 70% of all rows pass (setting join_runtime_filter_pass_ratio_threshold_for_disabling). This depends only on the probe side.

In other words, 1. protects against cases where the values on the probe side are uniformly distributed whereas 2. protects against cases where the probe-side value distribution is skewed.

I think we should generally try to align the new static disabling conditions with the existing dynamic disabling conditions.

For the existing dynamic disabling condition 1. this means, we should try to estimate at optimization time if more than 70% of all rows in the bloom filter will be set. Such an estimation can be done based on

  • the estimated build-side NDV, and
  • settings join_runtime_bloom_filter_bytes (default: 512 kB) and join_runtime_bloom_filter_hash_functions (default: 3) which together allow to calculate the filter saturation from on the NDV. Note that this assumes uniform distribution but that is okay.

The other existing disabling condition 2. is harder.

In the absence of histograms, we must again assume a uniform distribution on the probe side. We want (conceptually) estimate how many rows (*) of the probe-side rows pass the bloom filter. A match in the bloom filter is expected to mean "this probe-side row finds a join partner", therefore (*) is close to the expected output size of the join itself. There exists some math to calculate that under some conditions, in particular the containment assumption, see p. 97/98 here.

This PR introduces three criteria which look at the probe side.

Disabling Conditions (any one is sufficient)
PK-FK Saturation: NDV(build_key) / row_count(probe) >= threshold
NDV Parity: min(NDV_build, NDV_probe) / max(NDV_build, NDV_probe) >= threshold
Size Inversion: row_count(build) >= row_count(probe)

These criterial don't look very convincing to me, to be honest. Given that the math makes a lot of assumptions and dynamic disabling at probe time provides a fallback, I am very tempted to have static disabling only for the build side.

Thank you for such detailed feedbacks and the excellent paper reference!
I think it's a very compelling point about aligning the static planning checks with the existing dynamic runtime checks. I totally agree that trying to estimate the probe-side pass ratio at planning time requires too many assumptions without histograms, and using the exact Bloom filter dimensions for the build side is a much more mathematically sound approach.

I've just pushed an update that completely refactors this optimization based on your feedback:

  1. Build-Side Only: I removed the probe-side heuristics (NDV parity, size inversion) entirely.
  2. Saturation Math: The static check now calculates the expected Bloom filter saturation using the build-side NDV, join_runtime_bloom_filter_bytes, and join_runtime_bloom_filter_hash_functions. If the expected saturation exceeds the threshold, we skip building the filter at planning time.
  3. Settings & Comments: I renamed the setting to join_runtime_filter_build_saturation_threshold, moved it alphabetically next to the other join_runtime_* settings in Settings.cpp, and added detailed comments explaining the math and rationale.
  4. Tests: Updated the stateless tests to reflect the new setting name and build-only criteria.

Please let me know what you think of this revised approach.

@rschu1ze

Copy link
Copy Markdown
Member

@il9ue Would you please update the PR message? Thanks.

Comment thread src/Parsers/IAST.h Resolved
@il9ue
il9ue force-pushed the feature/stat-based-runtime-filter-disable branch 7 times, most recently from b7ffb6b to 3051b85 Compare March 2, 2026 01:32
@rschu1ze

This comment was marked as resolved.

@il9ue

This comment was marked as resolved.

Comment thread src/Parsers/IAST.h Resolved
"Saturation Check: Disabling filter for '{}' (n={})",
build_key_name, effective_n);
continue;
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Redundant duplicate saturation check for each join key

Low Severity

shouldDisableRuntimeFilter is called twice per join key. When build_stats has ndv > 0, both calls compute identical n values, making the first call entirely redundant. When ndv == 0, the first call always returns false. Only the second call (using effective_n with build_side_row_count fallback) is needed.

Fix in Cursor Fix in Web

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lines 400..405: continue if

  • build_stats && build_stats) && shouldDisableRuntimeFilter(build_stats, optimization_settings, build_stats->ndv)

Lines 416..421: continue if:

  • build_stats && build_stats->ndv <= 0 && shouldDisableRuntimeFilter(build_stats, optimization_settings, build_side_row_count) or
  • build_stats && build_stats->ndv > 0 && shouldDisableRuntimeFilter(build_stats, optimization_settings, build_stats->ndv)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consolidated per your suggestion — single call with effective_n = distinct_values > 0 ? distinct_values : build_side_row_count

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With this change now, isn't line 400..412 the same as line 418..428 (except for the if (build_stats))?

            // If stats exist, perform the check
            if (build_stats)
            {
                const auto effective_n = (build_stats->distinct_values > 0)
                    ? build_stats->distinct_values
                    : build_side_row_count;

                if (shouldDisableRuntimeFilter(build_stats, optimization_settings, effective_n))
                {
                    LOG_DEBUG(getLogger("JoinRuntimeFilter"),
                        "Saturation Check: Disabling filter for '{}' (n={})",
                        build_key_name, effective_n);
                    continue;
                }
            }

            // Determine effective n
            // Priority 1: NDV from column stats (if > 0)
            // Priority 2: Total rows from the plan step (fallback)
            size_t effective_n = build_side_row_count;
            if (build_stats && build_stats->distinct_values > 0)
                effective_n = static_cast<size_t>(build_stats->distinct_values);

            if (shouldDisableRuntimeFilter(build_stats, optimization_settings, effective_n))
            {
                LOG_DEBUG(getLogger("joinRuntimeFilter"),
                    "Saturation Check: Disabling filter for '{}' (n={})",
                    build_key_name, effective_n);
                continue;
            }

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll address it and ping you, then we can move to merge it :)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment thread src/Core/SettingsChangesHistory.cpp Resolved
QueryPlan::Node * curr = build_filter_node;
while (curr)
{
if (const auto * limit = typeid_cast<const LimitStep *>(curr->step.get()))

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This traversal stops at the first LimitStep, so it can miss a tighter LIMIT deeper in the build subtree. For example, with nested limits like (SELECT id FROM (SELECT id FROM t LIMIT 10) LIMIT 100), this records 100 and ignores the inner 10, overestimating n and potentially disabling runtime filters that should stay enabled.

Please track the minimum limit across the whole unary chain instead of breaking at the first LimitStep.

@clickhouse-gh

clickhouse-gh Bot commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

Dear @cv4g, you haven't been active on this PR for 30 days. You will be unassigned. Will you continue working on it? If so, please feel free to reassign yourself.

@clickhouse-gh clickhouse-gh Bot unassigned cv4g Jun 4, 2026
@cv4g cv4g self-assigned this Jun 8, 2026
}

/// Planning-time saturation is only meaningful for Bloom-capable runtime filters.
if (!is_left_anti_join && shouldDisableRuntimeFilter(build_stats, optimization_settings, effective_n))

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The saturation check is applied before we know that this runtime filter will actually be Bloom-based. BuildRuntimeFilterTransform falls back to ExactContainsRuntimeFilter when ApproximateRuntimeFilter::isDataTypeSupported is false, and with enable_join_runtime_filter_shared_fixed_hash_table enabled it can later replace the Set/Bloom filter with SharedFixedHashTableRuntimeFilter. In both cases, skipping here because a hypothetical Bloom filter is saturated loses an exact runtime filter.

Please gate this branch on the filter being Bloom-capable and not eligible for the shared fixed-hash replacement, or otherwise let those exact-filter paths bypass the planning-time Bloom saturation check.

/// If 'n' is 0, it means the estimator is uninitialized (common with new tables or missing stats).
/// Should fallback to the raw storage count, BUT re-apply the LIMIT check should also be done.
/// This prevents a "LIMIT 10" query on a 1M row table from being treated as 1M rows.
if (n == 0)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

profile.rows == 0 is also a valid estimate for an empty or unsatisfiable build-side predicate; it does not only mean that statistics are missing. The no-statistics path already returned std::nullopt when getConditionSelectivityEstimator was unavailable, so falling back from a real zero estimate to getRowsCountAllParts can turn an empty build side into a large n and disable the runtime filter.

Please keep a real zero-row estimate as zero, or otherwise distinguish "estimator missing" from "estimator says no rows".

const auto & dag = filter_step->getExpression();
const auto * predicate = static_cast<const ActionsDAG::Node *>(dag.tryFindInOutputs(filter_step->getFilterColumnName()));
if (predicate)
filter_node = predicate;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This traversal has the same predicate-loss problem as the open estimateBuildSubtreeRows thread: each FilterStep assignment overwrites the previously collected predicate. With FilterStep(A) -> FilterStep(B) -> ReadFromMergeTree, only B reaches estimateRelationProfile, so the build-side rows and NDV can be overestimated and the saturation check can disable a filter that should remain enabled.

Please accumulate the predicates as A AND B while walking the chain, the same way ConditionSelectivityEstimator combines filter and prewhere.

if (typeid_cast<const ExpressionStep *>(node->step.get()))
return estimateBuildSubtreeRows(child, filter);

return estimateBuildSubtreeRows(child, filter);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

estimateBuildSubtreeRows currently recurses through every unrecognized unary step as if it preserved row count. That is not true for steps such as AggregatingStep, DistinctStep, or LimitByStep. For a build side that reduces a large table to a small result before the JOIN, this will use the underlying ReadFromMergeTree row count, overestimate n, and can skip a useful runtime filter as "saturated".

Please only recurse through steps that are known to preserve cardinality, add explicit estimates for row-reducing steps, or return std::nullopt instead of treating unknown unary steps as preserving rows.

@cv4g cv4g self-assigned this Jul 30, 2026
@clickhouse-gh

clickhouse-gh Bot commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Dear @cv4g, you haven't been active on this PR for 30 days. You will be unassigned. Will you continue working on it? If so, please feel free to reassign yourself.

@clickhouse-gh clickhouse-gh Bot unassigned cv4g Sep 2, 2026
@cv4g

cv4g commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Will rebase to #114824 as a next step

@cv4g cv4g self-assigned this Sep 2, 2026
@abashkeev abashkeev added the comp-joins JOINs end-to-end (planning hooks + runtime join operators/algorithms). Single bucket to avoid pla... label Sep 3, 2026
…runtime-filter-disable

Resolve the conflict with the move of the settings changes history into the setting declarations
(ee6b44f): the history records this PR added to `SettingsChangesHistory.cpp` now live as
trailing arguments of the `DECLARE` of each setting.

- retargeted PR record [email protected] to 26.10 (settings-history check rule)

Also resolved conflicts in:
- `src/Processors/QueryPlan/BuildRuntimeFilterStep.cpp`
- `src/Processors/QueryPlan/Optimizations/QueryPlanOptimizationSettings.h`
- `src/Processors/QueryPlan/Optimizations/joinRuntimeFilter.cpp`
- `src/Processors/QueryPlan/RuntimeFilterLookup.cpp`
- `src/Processors/QueryPlan/RuntimeFilterLookup.h`
- `src/Storages/Statistics/ConditionSelectivityEstimator.cpp`
- `src/Core/Settings.cpp`

`RuntimeFilterLookup.{h,cpp}` follow master's rewrite; the PR's logging-only build statistics are dropped.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
@clickhouse-gh

clickhouse-gh Bot commented Sep 27, 2026 •

Copy link
Copy Markdown
Contributor

📊 Cloud Performance Report

✅ AI verdict: no_change — no significant changes across 36 queries analysed

This PR only changes planning for JOIN runtime filters. It adds a new setting, join_runtime_bloom_filter_max_estimated_ratio_of_set_bits, which is off by default at 1.0, plus build-side row and distinct-value estimation and suffix matching of column names in the statistics estimator. All four flagged queries are single-table ClickBench queries on hits with no JOIN, so none of them runs that code, and tpch_adapted_1_official, where joins are actually exercised, had no flagged queries. Q16 (+16.5%, noisy history) and Q23 (-44.7%) are downgraded to not sure; Q23 falls outside master's current range with a large CPU drop, which points to a different branch base or environment, not to this diff. Q18 (+10.6%) and Q33 (+6.1%) stay suppressed as within master's normal range, which matches the diff.

clickbench

⚠️ 4 inconclusive

Flagged queries (4 of 43)
Query Verdict Baseline median (ms) PR median (ms) Change q-value Hint
⚠️ 16 not_sure 560 652 +16.5% <0.0001 This single-table GROUP BY query on hits has no JOIN, so it never reaches the runtime-filter planning code this PR changes. Its history is also noisy.
⚠️ 18 not_sure 907 1003 +10.6% 0.0034 The +10.6% sits inside master's current range. This query has no JOIN and never runs the changed runtime-filter code, so the suppression stands.
⚠️ 23 not_sure 94 52 -44.7% <0.0001 The -44.7% change is outside master's range, but this single-table scan has no JOIN or dotted column names, so the diff cannot explain it. A different branch base is more likely.
⚠️ 33 not_sure 1185 1257 +6.1% 0.0002 The +6.1% sits inside master's current range. This single-table aggregation does not execute the changed runtime-filter planning code.

Change = percent below ×2; the ratio of medians (×N faster/slower) beyond, where percent understates the scale. q-value = BH-FDR adjusted p; smaller is stronger evidence. MIRAI flags a query when q < fdr_q (default 0.10) — the value the verdict is based on.

tpch_adapted_1_official

🟢 No significant changes

Debug info
  • StressHouse run: 5bd9fdab-8af1-48b1-84ab-67f3a92c8268
  • MIRAI run: 43b7a4c7-40ff-4477-8812-fbab97f731f1
  • PR check IDs:
    • clickbench_2164274_1790571115
    • clickbench_2164280_1790571115
    • clickbench_2164286_1790571115
    • tpch_adapted_1_official_2164294_1790571115
    • tpch_adapted_1_official_2164308_1790571115
    • tpch_adapted_1_official_2164346_1790571116

Assign the `std::optional` directly instead of dereferencing and re-wrapping
it (`bugprone-optional-value-conversion`), and use `std::min` for clamping
the build-side statistics (`readability-use-std-min-max`).

Build log: https://d1k2gkhrlfqv31.cloudfront.net/clickhouse-test-reports-private/PRs/77668/312f2ae1988eb31baf0c1f0ce206cfa7773e71aa/pr/build_arm_tidy/build_clickhouse/build_clickhouse.log

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
@clickhouse-gh

clickhouse-gh Bot commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

Dear @cv4g, you haven't been active on this PR for 30 days. You will be unassigned. Will you continue working on it? If so, please feel free to reassign yourself.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

can be tested Allows running workflows for external contributors comp-joins JOINs end-to-end (planning hooks + runtime join operators/algorithms). Single bucket to avoid pla... external Author is not a member of the ClickHouse organization pr-performance Pull request with some performance improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Introduce statistics-based disabling of join runtime filters

7 participants