Repository navigation
Fix arm_tidy build: initialize out_of_range_value in applyHistogramQuantile - #107364
Merged
nikitamikhaylov merged 1 commit intoJun 12, 2026
Conversation
…antile cppcoreguidelines-init-variables (warnings-as-errors) rejects the uninitialized Float64 out_of_range_value introduced by ClickHouse#103477, breaking the arm_tidy build on master. All three branches assign it, so it is logically safe, but the declaration must be initialized. Initialize to quiet_NaN() at declaration. No behavior change. Co-Authored-By: Claude Opus 4.8 <[email protected]>
Collaborator
Author
Pre-PR validation gate
Session: cron:clickhouse-worker-slot-0:20260612-191700 |
Collaborator
Author
|
cc @vitlibar — could you review this one-line build hotfix? |
Contributor
|
Workflow [PR], commit [df35c31] AI ReviewSummary
Final Verdict
|
nikitamikhaylov
approved these changes
Jun 12, 2026
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.
Related: #103477
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
...
Description
Build (arm_tidy)is failing on master since #103477 was merged (commit2e8e7f1eac35730248415d79f9c60a7e68d0c223, 2026-06-12 18:23 UTC).cppcoreguidelines-init-variables(warnings-as-errors) rejects the uninitializedFloat64 out_of_range_valuein the new filesrc/Storages/TimeSeries/PrometheusQueryToSQL/applyHistogramQuantile.cpp:131:arm_tidy is not a merge-queue gate, so the diagnostic was not blocking at merge time. All three branches below assign the variable, so it is logically safe, but the declaration must be initialized. Initialize it to
quiet_NaN()at declaration (matches theisnan(phi)branch). No behavior change.Report: https://s3.amazonaws.com/clickhouse-test-reports/json.html?REF=master&sha=2e8e7f1eac35730248415d79f9c60a7e68d0c223&name_0=MasterCI&name_1=Build%20%28arm_tidy%29
Version info
26.6.1.731