ask 6ee1146173
ci/woodpecker/push/woodpecker Pipeline was successful
fix(chdb): scan ClickHouse log_scores into signed model fields
The PostgreSQL model migration regenerated LogScore.ID, MonitorID and
ServerID as signed/pgtype fields, but the ClickHouse log_scores columns
are unsigned (id UInt64, monitor_id/server_id UInt32). clickhouse-go
refuses to scan UInt64 into *int64, so every score row failed to parse
and the scores endpoints returned empty.

Scan each row into locals matching the ClickHouse column types, then
convert into the model, mirroring the existing leap handling. Factor the
shared scan into scanLogScore used by both Logscores and
LogscoresTimeRange.
2026-05-23 23:52:09 -07:00
2025-08-03 16:06:59 -07:00
wip
2023-05-07 00:01:00 -07:00
2024-12-27 17:38:58 -08:00
2026-03-07 21:25:04 -08:00
2023-04-18 21:54:54 -07:00
wip
2023-05-07 00:01:00 -07:00
2025-09-20 10:29:53 -07:00
S
Description
No description provided
MIT
394 KiB
Languages
Go 98.5%
Shell 0.7%
Dockerfile 0.5%
Makefile 0.3%