openpanel icon indicating copy to clipboard operation
openpanel copied to clipboard

BUG: Aggregating `duration` in a Dashboard returns an error

Open hrsong99 opened this issue 11 months ago • 1 comments

When creating a Dashboard, there's an issue where aggregating duration (sum, average, min, max) would crash ClickHouse with Illegal type UInt64 of argument of function notEmpty. I'm not exactly sure, but I think the clickhouse conversion function notEmpty() is the problem when using it with a number.

Here's a PR to see if that fixes that: https://github.com/Openpanel-dev/openpanel/pull/245

Image Image

hrsong99 avatar Dec 03 '25 07:12 hrsong99

fixed by 3b61b28290f6cb21932c4969a711cd3300916c4f

lindesvard avatar Dec 16 '25 14:12 lindesvard