azure-data-explorer-datasource
azure-data-explorer-datasource copied to clipboard
Query builder: Unable to filter based on timespan or datetime ranges
What happened:
The builder quotes timespan or datetimes when comparing them in a filter. This syntax is only valid with the operators that compare exact values (e.g. == or !=) but it does not work with ranges:

To compare ranges, we need to explicitly convert them to the type, for example:
| where Duration > timespan('00:00:01')
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Screenshots
Anything else we need to know?:
Environment:
- Grafana version:
- Plugin version: 4.1.5
- OS Grafana is installed on:
- User OS & Browser:
- Others: