Repository navigation
Enable allow_experimental_analyzer by default - #61652
Merged
Merged
Conversation
Contributor
|
This is an automated comment for commit 104774c with description of existing statuses. It's updated for the latest CI running ❌ Click here to open a full report in a separate page
Successful checks
|
Member
|
There are bunch of performance tests that became slower (and some of functionality are not covered by performance tests at all, but this is a separate problem) Maybe separate performance tests job should be added to CI, that will compare allow_experimental_analyzer=0/1, thoughts? |
azat
reviewed
Apr 27, 2024
|
|
||
| write_embedded_config("0_common_instance_users.xml", users_d_dir) | ||
| if ( | ||
| os.environ.get("CLICKHOUSE_USE_NEW_ANALYZER") is not None |
Member
Closed
This was referenced Nov 13, 2026
cwurm
pushed a commit
to cwurm/ClickHouse
that referenced
this pull request
Nov 13, 2026
The four queries of `rand.xml` have the shape `SELECT count() FROM (SELECT f() FROM zeros(N))`. `count()` reads no column of the subquery, so the projection is dropped and `f()` is never called: in CI `FunctionExecute` is 0 in every run of all four queries on both architectures, and the queries time `count()` over `zeros()` (4-8 ms for queries 2 and 3), which is noise. This started with the analyzer becoming the default (ClickHouse#61652): on master `rand ClickHouse#2` went from 246 ms on 2024-03-26 to 6.3 ms on 2024-03-27. Performance test queries keep their numbers, so queries 0-3 are disabled (`disabled="1"`, text unchanged) and queries 4-7 are appended in the `WHERE NOT ignore(f())` form used by `random_string.xml` and `synthetic_hardware_benchmark.xml`, with the same row counts. `ignore` is never constant-folded, so its argument is computed for every row. Related: ClickHouse#110105, ClickHouse#101039 Co-Authored-By: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
Enable
allow_experimental_analyzersetting by default.Documentation entry for user-facing changes