Skip to content

Revert "Preserve original parameter types in timeseries aggregate functions" - #102358

Merged
tavplubix merged 1 commit into
masterfrom
revert-101083-fix/03254-timeseries-decimal64-params
Apr 10, 2026
Merged

tavplubix merged 1 commit into
masterfrom
revert-101083-fix/03254-timeseries-decimal64-params

Conversation

@tavplubix

Copy link
Copy Markdown
Member

@clickhouse-gh

clickhouse-gh Bot commented Apr 10, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [c6340c1]


AI Review

Summary

This PR reverts #101083 and restores previous behavior for time-series aggregate function parameter type normalization, mainly by reintroducing normalized decimal parameter storage in aggregate states/types. The code and tests are consistent with the revert intent, and I did not find correctness, safety, concurrency, performance, or compatibility regressions in the touched paths.

Missing context
  • ⚠️ No CI logs/results were available in this review session, so runtime validation was inferred from code and test diffs only.
ClickHouse Rules
Item Status Notes
Deletion logging ➖
Serialization versioning ✅
Core-area scrutiny ✅
No test removal ✅
Experimental gate ✅
No magic constants ✅
Backward compatibility ✅
SettingsChangesHistory.cpp ➖
PR metadata quality ✅
Safe rollout ✅
Compilation time ✅
No large/binary files ✅
Final Verdict
  • Status: ✅ Approve

@clickhouse-gh clickhouse-gh Bot added the pr-not-for-changelog This PR should not be mentioned in the changelog label Apr 10, 2026
@alexey-milovidov alexey-milovidov self-assigned this Apr 10, 2026
@tavplubix
tavplubix enabled auto-merge April 10, 2026 10:56
@tavplubix
tavplubix added this pull request to the merge queue Apr 10, 2026
Merged via the queue into master with commit ee99e56 Apr 10, 2026
44 of 140 checks passed
@tavplubix
tavplubix deleted the revert-101083-fix/03254-timeseries-decimal64-params branch April 10, 2026 11:12
@robot-ch-test-poll2 robot-ch-test-poll2 added the pr-synced-to-cloud The PR is synced to the cloud repo label Apr 10, 2026
@vitlibar

Copy link
Copy Markdown
Member

After investigation I decided to resubmit #101083 again. It seems #101083 was correct, report #102319 was just expected behavior and not a bug, and reverting #101083 caused later a bunch of other troubles: #101407, #102345, #103079

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

Labels

pr-not-for-changelog This PR should not be mentioned in the changelog pr-synced-to-cloud The PR is synced to the cloud repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants