Skip to content

[26.9] Pin query_plan_optimize_prewhere in 05316_ai_functions_last_in_prewhere - #128240

Merged
george-larionov merged 1 commit into
26.9from
pin-query-plan-optimize-prewhere-05316-26.9
Oct 30, 2026
Merged

george-larionov merged 1 commit into
26.9from
pin-query-plan-optimize-prewhere-05316-26.9

Conversation

@george-larionov

Copy link
Copy Markdown
Member

Related: #117802
Related: #128208

05316_ai_functions_last_in_prewhere (added by the backport of #117802) checks the PREWHERE order in EXPLAIN. On 26.9 clickhouse-test randomizes query_plan_optimize_prewhere (0 in about 5% of runs); with 0 and the analyzer no condition is moved to PREWHERE and the test fails. Pin the setting in the test. On master the setting is obsolete and no longer randomized, so no change is needed there.

Changelog category (leave one):

  • CI Fix or Improvement (changelog entry is not required)

🤖 Generated with Claude Code

…where`

`clickhouse-test` randomizes it on this branch; with `0` nothing is moved to PREWHERE and the test fails.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@clickhouse-gh

clickhouse-gh Bot commented Oct 30, 2026

Copy link
Copy Markdown
Contributor

Workflow [BackportPR], commit [c8321c3]

@clickhouse-gh clickhouse-gh Bot added the comp-testing Test content only (no production code). label Oct 30, 2026
@george-larionov
george-larionov merged commit 8d6a000 into 26.9 Oct 30, 2026
38 of 40 checks passed
@george-larionov
george-larionov deleted the pin-query-plan-optimize-prewhere-05316-26.9 branch October 30, 2026 15:18
@clickhouse-gh clickhouse-gh Bot added comp-ai-functions AI functions: SQL functions that call a large language model or an embedding model (aiGenerate, a... and removed comp-testing Test content only (no production code). labels Nov 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp-ai-functions AI functions: SQL functions that call a large language model or an embedding model (aiGenerate, a...

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant