clickhouse-grafana icon indicating copy to clipboard operation
clickhouse-grafana copied to clipboard

add support for $columns to use $timeSeriesMs

Open kcajf opened this issue 2 years ago • 1 comments

Currently the $columns macro produces intDiv(toFloat64(timestamp) * 1000, (1 * 1000)) * (1 * 1000)) AS t. Would it be possible to make it optionally output the equivalent $timeSeriesMs query?

kcajf avatar Jun 07 '22 16:06 kcajf

I think implements $columnsMs will better thanks for reporting

Slach avatar Jun 07 '22 18:06 Slach