new $__timeFilter, $__fromTime, $__toTime
macros break DateTime
primary key indexes
#699
Labels
$__timeFilter, $__fromTime, $__toTime
macros break DateTime
primary key indexes
#699
What happened:
After I upgraded the Grafana plugin, I noticed a lot of my queries got very slow. This was because the new macro logic for time filtering does
toDateTime64(1707855105945 / 1000, 3)
and that seems incompatible with primary key filtering when you order by aDateTime
column.How to reproduce it (as minimally and precisely as possible):
Screenshot:
Environment:
Grafana v10.0.2 (b2bbe10fbc)
4.0.2
The text was updated successfully, but these errors were encountered: