Found via ClickGap automated review. Please close or comment if this is incorrect or needs adjustment.
Describe what's wrong
A SELECT returns DIFFERENT results under a result-preserving setting profile vs defaults — a wrong-result bug, not a crash. Found by ClickGap's settings_randomization differential oracle on master and confirmed to still diverge.
Root cause: The result diverges under a result-preserving setting profile vs defaults (cell differs at row 0: '15042171845452101230' vs '9558639962779380867') — it must be identical regardless, so a difference is a correctness bug.
Reproduce — both queries should return the SAME result:
-- 1) defaults:
SELECT normalized_query_hash AS a, normalizedQueryHash(query) AS b, a = b FROM system.processes WHERE query LIKE
'SELECT normalized_query_hash AS a, normalizedQueryHash(query) AS b, a = b FROM system.processes WHERE query LIKE%'
LIMIT 1
FORMAT TSV;
-- 2) with the settings under test (should match #1):
SELECT normalized_query_hash AS a, normalizedQueryHash(query) AS b, a = b FROM system.processes WHERE query LIKE
'SELECT normalized_query_hash AS a, normalizedQueryHash(query) AS b, a = b FROM system.processes WHERE query LIKE%'
LIMIT 1
SETTINGS max_threads=1, max_block_size=1, max_insert_block_size=1, optimize_read_in_order=0, max_bytes_before_external_group_by=1
FORMAT TSV;
Found by ClickGap's continuous oracle campaign (master campaign @ local-build).
Why we believe this is a bug: The settings_randomization differential oracle flagged a result divergence (confirmed).
Affected locations:
See evidence chain.
Impact: Wrong query result (silent — no crash).
Does it reproduce on most recent release?
Yes — confirmed still diverging on current master.
How to reproduce
See root cause description and affected locations above.
Expected behavior
The code should not exhibit the behavior described in the root cause above.
Error message and/or stacktrace
See root cause description above.
Additional context
Analysis details: Confidence HIGH | Severity P1 | Testability: STATELESS_SQL
Found during automated review of PR #0.
ClickGapAI · Confidence: HIGH · Severity: P1 · Finding: fuzz_diff_2b0dd05393c693c7
Found via ClickGap automated review. Please close or comment if this is incorrect or needs adjustment.
Describe what's wrong
A SELECT returns DIFFERENT results under a result-preserving setting profile vs defaults — a wrong-result bug, not a crash. Found by ClickGap's settings_randomization differential oracle on master and confirmed to still diverge.
Root cause: The result diverges under a result-preserving setting profile vs defaults (cell differs at row 0: '15042171845452101230' vs '9558639962779380867') — it must be identical regardless, so a difference is a correctness bug.
Reproduce — both queries should return the SAME result:
Found by ClickGap's continuous oracle campaign (master campaign @ local-build).
Why we believe this is a bug: The settings_randomization differential oracle flagged a result divergence (confirmed).
Affected locations:
See evidence chain.
Impact: Wrong query result (silent — no crash).
Does it reproduce on most recent release?
Yes — confirmed still diverging on current master.
How to reproduce
See root cause description and affected locations above.
Expected behavior
The code should not exhibit the behavior described in the root cause above.
Error message and/or stacktrace
See root cause description above.
Additional context
Analysis details: Confidence HIGH | Severity P1 | Testability:
STATELESS_SQLFound during automated review of PR #0.
ClickGapAI · Confidence: HIGH · Severity: P1 · Finding:
fuzz_diff_2b0dd05393c693c7