openpanel
openpanel copied to clipboard
BUG: Aggregating `duration` in a Dashboard returns an error
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
fixed by 3b61b28290f6cb21932c4969a711cd3300916c4f